diff --git a/docs/release-notes/rl-0.3.adoc b/docs/release-notes/rl-0.3.adoc index 26b52c2..0d64544 100644 --- a/docs/release-notes/rl-0.3.adoc +++ b/docs/release-notes/rl-0.3.adoc @@ -15,3 +15,5 @@ * Improved handling of completion formatting. When setting <>, can also include optional menu mapping. And can provide your own function with <>. * For <> and <> turning them off should use `null` rather than `""` now. + +* Fixed deprecated configuration method for Tokyonight, and added new style "moon" diff --git a/modules/theme/supported_themes.nix b/modules/theme/supported_themes.nix index 814b412..d787f82 100644 --- a/modules/theme/supported_themes.nix +++ b/modules/theme/supported_themes.nix @@ -12,11 +12,9 @@ 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"]; + styles = ["day" "night" "storm" "moon"]; }; dracula = {