mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
dev: rebase on a less personalized neovim flake
This commit is contained in:
commit
9c00808863
70 changed files with 4910 additions and 0 deletions
33
modules/theme/supported_themes.nix
Normal file
33
modules/theme/supported_themes.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
onedark = {
|
||||
setup = { style ? "dark" }: ''
|
||||
-- OneDark theme
|
||||
require('onedark').setup {
|
||||
style = "${style}"
|
||||
}
|
||||
require('onedark').load()
|
||||
'';
|
||||
styles = [ "dark" "darker" "cool" "deep" "warm" "warmer" ];
|
||||
};
|
||||
|
||||
tokyonight = {
|
||||
setup = { style ? "night" }: ''
|
||||
-- need to set style before colorscheme to apply
|
||||
vim.g.tokyonight_style = '${style}'
|
||||
vim.cmd[[colorscheme tokyonight]]
|
||||
'';
|
||||
styles = [ "day" "night" "storm" ];
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
setup = { style ? "mocha" }: ''
|
||||
-- Catppuccin theme
|
||||
require('catppuccin').setup {
|
||||
flavour = "${style}"
|
||||
}
|
||||
-- setup must be called before loading
|
||||
vim.cmd.colorscheme "catppuccin"
|
||||
'';
|
||||
styles = [ "latte" "frappe" "macchiato" "mocha" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue