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 = {
setup = {style ? "night"}: ''
-- need to set style before colorscheme to apply
vim.g.tokyonight_style = '${style}'
vim.cmd[[colorscheme tokyonight]]
vim.cmd[[colorscheme tokyonight-${style}]]
'';
styles = ["day" "night" "storm"];
};