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

@ -860,15 +860,42 @@ require('lazy').setup({
-- },
--
{
'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 } },

View File

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