Skip to content

Commit 878f97e

Browse files
committed
added nvim config
1 parent 63fe72a commit 878f97e

File tree

2 files changed

+48
-9
lines changed

2 files changed

+48
-9
lines changed

init.lua

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -859,16 +859,43 @@ require('lazy').setup({
859859
-- end,
860860
-- },
861861
--
862-
{
863-
864-
'rebelot/kanagawa.nvim',
862+
{
863+
"catppuccin/nvim",
864+
name = "catppuccin",
865865
priority = 1000,
866-
init = function()
867-
vim.cmd.colorscheme 'kanagawa-dragon'
868-
vim.cmd.hi 'Comment gui=none'
866+
config = function()
867+
require("catppuccin").setup({
868+
flavour = "mocha", -- latte, frappe, macchiato, mocha
869+
background = { -- :h background
870+
dark = "mocha",
871+
},
872+
transparent_background = true, -- disables setting the background color
873+
term_colors = true, -- sets terminal colors
874+
styles = {
875+
comments = { "italic" },
876+
conditionals = { "italic" },
877+
loops = {},
878+
functions = {},
879+
keywords = {},
880+
strings = {},
881+
variables = {},
882+
numbers = {},
883+
booleans = {},
884+
properties = {},
885+
types = {},
886+
operators = {},
887+
},
888+
color_overrides = {
889+
mocha = {
890+
base = "#000000", -- Set the background to pure black
891+
mantle = "#000000",
892+
crust = "#000000",
893+
},
894+
},
895+
})
896+
vim.cmd.colorscheme "catppuccin"
869897
end,
870-
},
871-
898+
},
872899
-- Highlight todo, notes, etc in comments
873900
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
874901

lua/custom/plugins/init.lua

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ return {
1515
hijack_netrw = true, -- Hijack netrw for nvim-tree
1616
view = {
1717
side = 'right', -- Position of the tree
18-
width = 40,
18+
width = 40,
1919
},
2020
renderer = {
2121
icons = {
@@ -55,4 +55,16 @@ return {
5555
{ '<leader>gg', '<cmd>LazyGit<CR>', desc = 'Open LazyGit' },
5656
},
5757
},
58+
59+
-- Aerial plugin to see document signatures
60+
{
61+
'stevearc/aerial.nvim',
62+
cmd = { 'AerialToggle' },
63+
keys = {
64+
{ '<leader>ga', '<cmd>AerialToggle<CR>', desc = 'Toggle Aerial Outline' },
65+
},
66+
config = function()
67+
require('aerial').setup()
68+
end,
69+
},
5870
}

0 commit comments

Comments
 (0)