tokyonight: update deprecated style setup

This commit is contained in:
Ching Pei Yang 2023-04-18 17:10:14 +02:00 committed by GitHub
parent f3aac8cb5a
commit 65c64492e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,9 +12,7 @@
tokyonight = { tokyonight = {
setup = {style ? "night"}: '' setup = {style ? "night"}: ''
-- need to set style before colorscheme to apply vim.cmd[[colorscheme tokyonight-${style}]]
vim.g.tokyonight_style = '${style}'
vim.cmd[[colorscheme tokyonight]]
''; '';
styles = ["day" "night" "storm"]; styles = ["day" "night" "storm"];
}; };