You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated the plugin to the latest version before submitting this issue
I have searched the existing issues of tokyonight.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
(Vim, not Neovim)
Operating system/version
macOS 15.3.1
Describe the bug
The Vim (not Neovim) version of the color schemes in the extra/ folders are not setting g:colors_name correctly. The correct ordering should be first calling hi clear, thenlet g:colors_name = "tokyonight-moon". Currently the generated Vim colorschemes are doing it the other way round which leads to the g:colors_name variable being cleared.
Did you check docs and existing issues?
Neovim version (nvim -v)
(Vim, not Neovim)
Operating system/version
macOS 15.3.1
Describe the bug
The Vim (not Neovim) version of the color schemes in the extra/ folders are not setting
g:colors_name
correctly. The correct ordering should be first callinghi clear
, thenlet g:colors_name = "tokyonight-moon"
. Currently the generated Vim colorschemes are doing it the other way round which leads to theg:colors_name
variable being cleared.Example:
tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim
Lines 1 to 2 in 84ea0b5
Steps To Reproduce
:color tokyonight
echo g:colors_name
Expected Behavior
g:colors_name
should be set.Repro
The text was updated successfully, but these errors were encountered: