New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlighting toggles on when sourcing vimrc containing set hlsearch
#43
Comments
Hmm… what is the output of |
|
Yeah, the reasoning behind this is that Now, two questions:
|
Could there be a workaround to check if the OptionSet was fired as result of last command being the sourcing of a Vim filetype buffer? |
|
Yeah, I'm not sure there's a foolproof way to do it. For now, I'm just going to stick a call my |
I don't use vim-cool, but even with a
|
When I have
set hlsearch
set in my vimrc file and I source it, vim-cool highlights the last search. From my quick look, it seems to be triggered by theOptionSet
autocmd. If I commented outset hlsearch
in my vimrc and source it, no highlighting appears. Is there a way to haveset hlsearch
in your vimrc without having vim-cool re-highlight last search when I source the file?The text was updated successfully, but these errors were encountered: