From 65c64492e574366e381c610a699bae08d80039d1 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang <59727193+horriblename@users.noreply.github.com> Date: Tue, 18 Apr 2023 17:10:14 +0200 Subject: [PATCH] tokyonight: update deprecated style setup --- modules/theme/supported_themes.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/theme/supported_themes.nix b/modules/theme/supported_themes.nix index 814b412..e619bce 100644 --- a/modules/theme/supported_themes.nix +++ b/modules/theme/supported_themes.nix @@ -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"]; };