I'm trying to make a colorscheme configurable where I define the style in a variable defined in my
Then in the colorscheme I'm doing:
highlight! StyleName g:plugin_style
This doesn't work,
hightlight! uses the literal
I tried as well to use exec
exec 'highlight! StyleName ' . g:plugin_style
This doesn't work neither, StyleName is not known afterwards.
How to do this in vimscript?