diff --git a/lua/custom/plugins/colorscheme.lua b/lua/custom/plugins/colorscheme.lua new file mode 100644 index 00000000..56bcd7d7 --- /dev/null +++ b/lua/custom/plugins/colorscheme.lua @@ -0,0 +1,45 @@ +return { + "catppuccin/nvim", + name = "catppuccin", + config = function() + require("catppuccin").setup { + flavour = "mocha", -- latte, frappe, macchiato, mocha + term_colors = true, + transparent_background = false, + no_italic = false, + no_bold = false, + styles = { + comments = {}, + conditionals = {}, + loops = {}, + functions = {}, + keywords = {}, + strings = {}, + variables = {}, + numbers = {}, + booleans = {}, + properties = {}, + types = {}, + }, + color_overrides = { + mocha = { + base = "#000000", + mantle = "#000000", + crust = "#000000", + }, + }, + highlight_overrides = { + mocha = function(C) + return { + TabLineSel = { bg = C.pink }, + CmpBorder = { fg = C.surface2 }, + Pmenu = { bg = C.none }, + TelescopeBorder = { link = "FloatBorder" }, + } + end, + }, + } + + vim.cmd.colorscheme "catppuccin" + end, +} diff --git a/lua/custom/plugins/filetree.lua b/lua/custom/plugins/filetree.lua index 237f7505..33dfd594 100644 --- a/lua/custom/plugins/filetree.lua +++ b/lua/custom/plugins/filetree.lua @@ -6,10 +6,14 @@ return { "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended "MunifTanjim/nui.nvim", }, - config = function () + config = function() -- Unless you are still migrating, remove the deprecated commands from v1.x vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]]) - require('neo-tree').setup {} + require('neo-tree').setup { + window = { + width = 24, + } + } end, }