diff --git a/init.lua b/init.lua index c2434158..ffc92b34 100644 --- a/init.lua +++ b/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 } }, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 87fa5ec0..100c7769 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -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 { { 'gg', 'LazyGit', desc = 'Open LazyGit' }, }, }, + + -- Aerial plugin to see document signatures + { + 'stevearc/aerial.nvim', + cmd = { 'AerialToggle' }, + keys = { + { 'ga', 'AerialToggle', desc = 'Toggle Aerial Outline' }, + }, + config = function() + require('aerial').setup() + end, + }, }