2024-02-26 19:46:46 +00:00
|
|
|
return {
|
|
|
|
{ -- You can easily change to a different colorscheme.
|
|
|
|
-- Change the name of the colorscheme plugin below, and then
|
2024-03-18 17:50:47 +00:00
|
|
|
-- change the command in the config to whatever the name of that colorscheme is.
|
2024-02-26 19:46:46 +00:00
|
|
|
--
|
2024-03-18 17:50:47 +00:00
|
|
|
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
2024-06-01 11:00:49 +00:00
|
|
|
'catppuccin/nvim',
|
2024-03-18 17:50:47 +00:00
|
|
|
priority = 1000, -- Make sure to load this before all the other start plugins.
|
2024-03-10 10:35:10 +00:00
|
|
|
init = function()
|
2024-03-06 10:16:26 +00:00
|
|
|
-- Load the colorscheme here.
|
2024-06-01 11:00:49 +00:00
|
|
|
vim.cmd.colorscheme 'catppuccin-mocha'
|
2024-02-26 19:46:46 +00:00
|
|
|
|
2024-06-01 11:01:11 +00:00
|
|
|
-- Toggle light/dark mode with mocha/latte
|
|
|
|
vim.keymap.set('n', '<leader>tt', function()
|
|
|
|
vim.cmd.colorscheme(vim.o.background == 'dark' and 'catppuccin-latte' or 'catppuccin-mocha')
|
|
|
|
end, { desc = '[T]oggle [T]heme' })
|
|
|
|
|
2024-03-18 17:50:47 +00:00
|
|
|
-- You can configure highlights by doing something like:
|
2024-02-26 19:46:46 +00:00
|
|
|
vim.cmd.hi 'Comment gui=none'
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|