mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 08:39:50 +01:00
fix: accept missing transparent attribute
This commit is contained in:
parent
c874b7fa99
commit
77a10e8ee4
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
{lib}: {
|
||||
onedark = {
|
||||
setup = {style ? "dark"}: ''
|
||||
setup = {
|
||||
style ? "dark",
|
||||
transparent,
|
||||
}: ''
|
||||
-- OneDark theme
|
||||
require('onedark').setup {
|
||||
style = "${style}"
|
||||
|
@ -11,7 +14,10 @@
|
|||
};
|
||||
|
||||
tokyonight = {
|
||||
setup = {style ? "night"}: ''
|
||||
setup = {
|
||||
style ? "night",
|
||||
transparent,
|
||||
}: ''
|
||||
vim.cmd[[colorscheme tokyonight-${style}]]
|
||||
'';
|
||||
styles = ["day" "night" "storm" "moon"];
|
||||
|
|
Loading…
Reference in a new issue