mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-19 12:04:13 +00:00
Merge branch 'v0.8' into vala-fix
This commit is contained in:
commit
4abd1fec5b
10 changed files with 131 additions and 24 deletions
|
|
@ -9,7 +9,7 @@
|
|||
freeformType = attrsOf (listOf (either str luaInline));
|
||||
options = {
|
||||
preset = mkOption {
|
||||
type = enum ["default" "none" "super-tab" "enter" "cmdline"];
|
||||
type = enum ["inherit" "default" "none" "super-tab" "enter" "cmdline"];
|
||||
default = "none";
|
||||
description = "keymap presets";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -46,6 +46,18 @@ in {
|
|||
}: ''
|
||||
require('tokyonight').setup {
|
||||
transparent = ${boolToString transparent};
|
||||
styles = {
|
||||
sidebars = ${
|
||||
if transparent
|
||||
then ''"transparent"''
|
||||
else ''"dark"''
|
||||
},
|
||||
floats = ${
|
||||
if transparent
|
||||
then ''"transparent"''
|
||||
else ''"dark"''
|
||||
},
|
||||
},
|
||||
}
|
||||
vim.cmd[[colorscheme tokyonight-${style}]]
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue