added nvim config

This commit is contained in:
aryat 2025-06-21 18:59:44 +05:30
parent 63fe72a39c
commit 878f97e39b
2 changed files with 48 additions and 9 deletions

View File

@ -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 } },

View File

@ -15,7 +15,7 @@ return {
hijack_netrw = true, -- Hijack netrw for nvim-tree hijack_netrw = true, -- Hijack netrw for nvim-tree
view = { view = {
side = 'right', -- Position of the tree side = 'right', -- Position of the tree
width = 40, width = 40,
}, },
renderer = { renderer = {
icons = { icons = {
@ -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,
},
} }