diff --git a/init.lua b/init.lua index d8b68c3a..6640d85d 100644 --- a/init.lua +++ b/init.lua @@ -882,7 +882,7 @@ require('lazy').setup({ -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. 'folke/tokyonight.nvim', - priority = 1000, -- Make sure to load this before all the other start plugins. + priority = 999, -- Make sure to load this before all the other start plugins. config = function() ---@diagnostic disable-next-line: missing-fields require('tokyonight').setup { diff --git a/lua/custom/plugins/colorscheme.lua b/lua/custom/plugins/colorscheme.lua new file mode 100644 index 00000000..87bffcd8 --- /dev/null +++ b/lua/custom/plugins/colorscheme.lua @@ -0,0 +1,19 @@ +return { + { + 'catppuccin/nvim', + name = 'catppuccin', + priority = 1000, -- ensure it loads first + config = function() + require('catppuccin').setup { + flavour = 'mocha', -- latte, frappe, macchiato, mocha + transparent_background = true, + integrations = { + treesitter = true, + native_lsp = { enabled = true }, + telescope = true, + }, + } + vim.cmd.colorscheme 'catppuccin' + end, + }, +}