added nvim config
This commit is contained in:
parent
63fe72a39c
commit
878f97e39b
43
init.lua
43
init.lua
|
@ -859,16 +859,43 @@ require('lazy').setup({
|
||||||
-- end,
|
-- end,
|
||||||
-- },
|
-- },
|
||||||
--
|
--
|
||||||
{
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
'rebelot/kanagawa.nvim',
|
name = "catppuccin",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
init = function()
|
config = function()
|
||||||
vim.cmd.colorscheme 'kanagawa-dragon'
|
require("catppuccin").setup({
|
||||||
vim.cmd.hi 'Comment gui=none'
|
flavour = "mocha", -- latte, frappe, macchiato, mocha
|
||||||
|
background = { -- :h background
|
||||||
|
dark = "mocha",
|
||||||
|
},
|
||||||
|
transparent_background = true, -- disables setting the background color
|
||||||
|
term_colors = true, -- sets terminal colors
|
||||||
|
styles = {
|
||||||
|
comments = { "italic" },
|
||||||
|
conditionals = { "italic" },
|
||||||
|
loops = {},
|
||||||
|
functions = {},
|
||||||
|
keywords = {},
|
||||||
|
strings = {},
|
||||||
|
variables = {},
|
||||||
|
numbers = {},
|
||||||
|
booleans = {},
|
||||||
|
properties = {},
|
||||||
|
types = {},
|
||||||
|
operators = {},
|
||||||
|
},
|
||||||
|
color_overrides = {
|
||||||
|
mocha = {
|
||||||
|
base = "#000000", -- Set the background to pure black
|
||||||
|
mantle = "#000000",
|
||||||
|
crust = "#000000",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
vim.cmd.colorscheme "catppuccin"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Highlight todo, notes, etc in comments
|
-- Highlight todo, notes, etc in comments
|
||||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
||||||
|
|
||||||
|
|
|
@ -55,4 +55,16 @@ return {
|
||||||
{ '<leader>gg', '<cmd>LazyGit<CR>', desc = 'Open LazyGit' },
|
{ '<leader>gg', '<cmd>LazyGit<CR>', desc = 'Open LazyGit' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Aerial plugin to see document signatures
|
||||||
|
{
|
||||||
|
'stevearc/aerial.nvim',
|
||||||
|
cmd = { 'AerialToggle' },
|
||||||
|
keys = {
|
||||||
|
{ '<leader>ga', '<cmd>AerialToggle<CR>', desc = 'Toggle Aerial Outline' },
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('aerial').setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue