mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 09:49:48 +01:00
feat: further plugin integration for catppuccin theme
This commit is contained in:
parent
caac3e5af4
commit
54305d50fa
1 changed files with 21 additions and 7 deletions
|
@ -1,33 +1,47 @@
|
||||||
{
|
{
|
||||||
onedark = {
|
onedark = {
|
||||||
setup = { style ? "dark" }: ''
|
setup = {style ? "dark"}: ''
|
||||||
-- OneDark theme
|
-- OneDark theme
|
||||||
require('onedark').setup {
|
require('onedark').setup {
|
||||||
style = "${style}"
|
style = "${style}"
|
||||||
}
|
}
|
||||||
require('onedark').load()
|
require('onedark').load()
|
||||||
'';
|
'';
|
||||||
styles = [ "dark" "darker" "cool" "deep" "warm" "warmer" ];
|
styles = ["dark" "darker" "cool" "deep" "warm" "warmer"];
|
||||||
};
|
};
|
||||||
|
|
||||||
tokyonight = {
|
tokyonight = {
|
||||||
setup = { style ? "night" }: ''
|
setup = {style ? "night"}: ''
|
||||||
-- need to set style before colorscheme to apply
|
-- need to set style before colorscheme to apply
|
||||||
vim.g.tokyonight_style = '${style}'
|
vim.g.tokyonight_style = '${style}'
|
||||||
vim.cmd[[colorscheme tokyonight]]
|
vim.cmd[[colorscheme tokyonight]]
|
||||||
'';
|
'';
|
||||||
styles = [ "day" "night" "storm" ];
|
styles = ["day" "night" "storm"];
|
||||||
};
|
};
|
||||||
|
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
setup = { style ? "mocha" }: ''
|
setup = {style ? "mocha"}: ''
|
||||||
-- Catppuccin theme
|
-- Catppuccin theme
|
||||||
require('catppuccin').setup {
|
require('catppuccin').setup {
|
||||||
flavour = "${style}"
|
flavour = "${style}",
|
||||||
|
transparent_background = true,
|
||||||
|
integrations = {
|
||||||
|
nvimtree = {
|
||||||
|
enabled = true,
|
||||||
|
transparent_panel = false,
|
||||||
|
show_root = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
hop = true,
|
||||||
|
gitsigns = true,
|
||||||
|
telescope = true,
|
||||||
|
treesitter = true,
|
||||||
|
ts_rainbow = true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
-- setup must be called before loading
|
-- setup must be called before loading
|
||||||
vim.cmd.colorscheme "catppuccin"
|
vim.cmd.colorscheme "catppuccin"
|
||||||
'';
|
'';
|
||||||
styles = [ "latte" "frappe" "macchiato" "mocha" ];
|
styles = ["latte" "frappe" "macchiato" "mocha"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue