I'm trying to override the highlight set in a plugin. The plugin does this:
highlight! link WordUnderTheCursor Underlined
Firstly, I'm not aware that !
added to highlight
does anything. But that's irrelevant.
Doing stuff like this in the vimrc
highlight clear WordUnderTheCursor
highlight WordUnderTheCursor cterm=bold ctermfg=254 ctermbg=160
Does not appear to affect the behavior.
Only when I directly modify the Underlined
style (which feels wrong) in the vimrc, does the change apply.
Is this proof that the plugin is being run after the vimrc runs?
How might I unlink the style? I can't really tell if this is just the plugin doing something creative and unsupported, or if this is normal Vim behavior.