Merge branch 'v0.8' into vala-fix

This commit is contained in:
Soliprem 2025-11-14 18:18:34 +01:00 committed by GitHub
commit 4abd1fec5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 131 additions and 24 deletions

View file

@ -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";
};

View file

@ -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}]]
'';