rhysd / clever-f.vim

Extended f, F, t and T key mappings for Vim.
https://rhysd.github.io/clever-f.vim
1.01k stars 44 forks source link

make highlight link correctly for defined groups #50

Closed hiroebe closed 5 years ago

hiroebe commented 5 years ago

When highlight groups CleverFCursor, CleverFChar, and CleverFDirect are defined by colorscheme (e.g. spring-night defines CleverFChar), g:clever_f_mark_*_color is ignored because highlight link does not overwrite them. So I think it should be highlight! link.

It was not correct. The expected behavior is:

hiroebe commented 5 years ago

Test fails... I don't know much about vim plugins, but is it necessary to define these g:clefer_f_* variables by plugin-side even if they are not defined by user-side?

rhysd commented 5 years ago

Test fails... I don't know much about vim plugins, but is it necessary to define these g:cleferf* variables by plugin-side even if they are not defined by user-side?

Don't warry. I'll fix them after merge.

hiroebe commented 5 years ago

Thanks!