If I want to make amendments to a colour scheme colours.vim (for
instance amend or add highlight groups) I do so
in .vim/after/colors/colours.vim.
I have installed the AfterColors plugin and this works fine.
However, if you have colour scheme that uses script-variables (s:var)
to determine colours based on global settings in .vimrc, this system
falls down because you can't access the variables in the after/colors
script.
It's obviously not ideal if you are forced to make your
personal amendments in the original .vim/colors/colours.vim because
you'll lose the changes with the next upgrade.
I presume the best solution would be to use global variables in the
colour scheme file?
--
Best Regards,
Tarlika Elisabeth Schmitz, Scotland
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment