Change theme to catppuccin

This commit is contained in:
Yorick Barbanneau 2024-03-24 22:14:50 +01:00
parent eeec07802e
commit 99f2bc3b3f
2 changed files with 6 additions and 40 deletions

View file

@ -50,7 +50,7 @@ in
'';
}
{
plugin = onedark-nvim;
plugin = catppuccin-nvim;
type = "lua";
config = (builtins.readFile ./files/theme.lua);
}

View file

@ -1,40 +1,6 @@
require('onedark').setup {
-- Main options --
style = 'darker',
transparent = false, -- Show/hide background
term_colors = true, -- Change terminal color as per the selected theme style
ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden
cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu
-- toggle theme style ---
toggle_style_key = '<leader>ts',
toggle_style_list = {'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light'},
-- Change code style ---
-- Options are italic, bold, underline, none
-- You can configure multiple style with comma separated, For e.g., keywords = 'italic,bold'
code_style = {
comments = 'italic',
keywords = 'none',
functions = 'none',
strings = 'none',
variables = 'none'
},
-- Lualine options --
lualine = {
transparent = false, -- lualine center bar transparency
},
-- Custom Highlights --
colors = {}, -- Override default colors
highlights = {}, -- Override highlight groups
-- Plugins Config --
diagnostics = {
darker = true, -- darker colors for diagnostic
undercurl = false, -- use undercurl instead of underline for diagnostics
background = true, -- use background color for virtual text
},
require("catppuccin").setup {
integrations = {
neotree = true
}
}
require('onedark').load()
vim.cmd.colorscheme "catppuccin"