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,
|
||||
-- },
|
||||
--
|
||||
{
|
||||
|
||||
'rebelot/kanagawa.nvim',
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
priority = 1000,
|
||||
init = function()
|
||||
vim.cmd.colorscheme 'kanagawa-dragon'
|
||||
vim.cmd.hi 'Comment gui=none'
|
||||
config = function()
|
||||
require("catppuccin").setup({
|
||||
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,
|
||||
},
|
||||
|
||||
},
|
||||
-- Highlight todo, notes, etc in comments
|
||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ return {
|
|||
hijack_netrw = true, -- Hijack netrw for nvim-tree
|
||||
view = {
|
||||
side = 'right', -- Position of the tree
|
||||
width = 40,
|
||||
width = 40,
|
||||
},
|
||||
renderer = {
|
||||
icons = {
|
||||
|
@ -55,4 +55,16 @@ return {
|
|||
{ '<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