mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-30 08:36:46 +00:00
86237bfd2d
docs: update release notes
72 lines
1.6 KiB
Nix
72 lines
1.6 KiB
Nix
{lib}: {
|
|
onedark = {
|
|
setup = {
|
|
style ? "dark",
|
|
transparent,
|
|
}: ''
|
|
-- OneDark theme
|
|
require('onedark').setup {
|
|
style = "${style}"
|
|
}
|
|
require('onedark').load()
|
|
'';
|
|
styles = ["dark" "darker" "cool" "deep" "warm" "warmer"];
|
|
};
|
|
|
|
tokyonight = {
|
|
setup = {
|
|
style ? "night",
|
|
transparent,
|
|
}: ''
|
|
require('tokyonight').setup {
|
|
transparent = ${lib.boolToString transparent};
|
|
}
|
|
vim.cmd[[colorscheme tokyonight-${style}]]
|
|
'';
|
|
styles = ["day" "night" "storm" "moon"];
|
|
};
|
|
|
|
dracula = {
|
|
setup = ''
|
|
require('dracula').setup({});
|
|
require('dracula').load();
|
|
'';
|
|
};
|
|
|
|
catppuccin = {
|
|
setup = {
|
|
style ? "mocha",
|
|
transparent ? false,
|
|
}: ''
|
|
-- Catppuccin theme
|
|
require('catppuccin').setup {
|
|
flavour = "${style}",
|
|
transparent_background = ${lib.boolToString transparent},
|
|
integrations = {
|
|
nvimtree = {
|
|
enabled = true,
|
|
transparent_panel = ${lib.boolToString transparent},
|
|
show_root = true,
|
|
},
|
|
|
|
hop = true,
|
|
gitsigns = true,
|
|
telescope = true,
|
|
treesitter = true,
|
|
ts_rainbow = true,
|
|
fidget = true,
|
|
alpha = true,
|
|
leap = true,
|
|
markdown = true,
|
|
noice = true,
|
|
notify = true, -- nvim-notify
|
|
which_key = true
|
|
},
|
|
}
|
|
-- setup must be called before loading
|
|
vim.cmd.colorscheme "catppuccin"
|
|
'';
|
|
styles = ["latte" "frappe" "macchiato" "mocha"];
|
|
};
|
|
}
|