I now have Vim version 8.1.2102 from Sep 30 2019 15:45:59 on Fedora 30. For some reason the word boundary in C++ code now also includes the underscore somehow, so I see this:
When I have the cursor over that and press
*, it will only search for
quark. When I do
<C-[> it will try to search for the tag
There are a bunch of plugins:
$ ls .vim/bundle molokai/ vim-eunuch/ vim-regex-collection/ SingleCompile/ vim-fish/ vim-repeat/ syntastic/ vim-fswitch/ vim-snipmate/ tlib_vim/ vim-gutentags/ vim-surround/ vim-addon-mw-utils/ vim-headings/ vim-unimpaired/ vim-dirvish/ Vim-Jinja2-Syntax/ VOoM/ vim-dokuwiki/ vim-mathematica/
I have not changed the plugins but Vim got updated and somehow this has changed. How can I further triage and fix this issue?
In the C++ code file I have this setting:
In my whole
.vim directory there is not a single spot where this is set to anything nonsensical:
$ grep -R iskeyword . ./bundle/vim-fish/ftplugin/fish.vim:setlocal iskeyword=@,48-57,-,_,.,/ ./bundle/vim-mathematica/syntax/mma.vim:setlocal iskeyword+=`,$ ./bundle/vim-mathematica/syntax/mma.vim:setlocal iskeyword-=:,-
Fish is a shell and mma is for Wolfram Language code. Since the
filetype is set to
cpp, neither of them should be invoked.
I could just add
set iskeyword+=_ to my
.vimrc but that does not seem right.