Invalid command :echo color_name?
hobo-mts opened this issue · 1 comments
hobo-mts commented
Here:
The same, but only for the "lucius" colorscheme (check `:echo
color_name` which should be set by all valid colorschemes):
In my Vim 7.4 with default colorscheme, command :echo color_name
prints
E121: Undefined variable: color_name
E15: Invalid expression: color_name
default.vim contains line let colors_name = "default"
mhinz commented
Okay, I changed the whole section to make it a bit clearer.
The default colorscheme is hardcoded in C and does not set colors_name
. I should have used just :colo
, which outputs default
in that case.
Anyway, I removed the bit about colors_name
since it's not really important. I also switched from "lucius" to one of the colorscheme shipped with Vim, "desert".
Thanks for bringing this up! ✨