vn-night.nvim
vn-night.nvim copied to clipboard
Report error message when start
处理 ColorScheme 自动命令 "*" 时发生错误:
E121: Undefined variable: g:colors_name
E116: Invalid arguments for function CocHelperCallFn_m1_v0_13_0
请按 ENTER 或其它命令继续
It seems something with coc
.
Is it working with COC now @tan-wei.
Sorry for late reply. I'll try it ASAP.
No, it still complains the same error. Neovim version: v0.8.0-dev-1112-g6d557e324
OK, I think I find the issue:
- I use a plugin which random choice a theme from a set, the plugin will print the name of the chosen colorscheme by echo
g:color_names
- But
vn-night.nvim
does not set the variable
It is easy to reproduce without the plugin:
- Just print the name of current colorscheme by intputing command
:colorscheme
, neovim will just printdefault
instead ofvn-night
So set g:color_names
will make this issue closed.
For any other colorschemes, the variable is set properly, so should vn-night.nvim
, is it?