Migrated init.lua into plugin files
This commit is contained in:
19
AppData/Local/nvim/lua/plugins/catppuccin.lua
Normal file
19
AppData/Local/nvim/lua/plugins/catppuccin.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
{ -- You can easily change to a different colorscheme.
|
||||
-- Change the name of the colorscheme plugin below, and then
|
||||
-- change the command in the config to whatever the name of that colorscheme is.
|
||||
--
|
||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||
'catppuccin/nvim',
|
||||
name = 'catppuccin',
|
||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||
config = function()
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
require('catppuccin').setup {
|
||||
flavour = 'mocha',
|
||||
}
|
||||
|
||||
vim.cmd.colorscheme 'catppuccin'
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user