mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-20 12:50:09 +01:00
Merge pull request #1201 from kmdtaufik/theme
theme: fix tokyonight transparency
This commit is contained in:
commit
9b3e7bcf68
1 changed files with 12 additions and 0 deletions
|
|
@ -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
Reference in a new issue