Consider the highlight
:hi MyHi ctermbg=46 guibg=#00ff00
In a script, is it possible to test whether or not its
been defined.
If one uses:
:hi MyHi
it will produce an Error message or the highlight terms.
What is want is something like:
if ! defined_highlight("MyHi")
:hi MyHi ....
endif
Thanks
Richard
--
Quis custodiet ipsos custodes
--
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
Sunday, June 24, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment