: is set as keyword (
set iskeyword) for C++ source file by default, is there a way to just disable that in my .vimrc file instead of doing
set iskeyword-=: every time? It seems the plug-in set the keyword is loaded after loading .vimrc file.
You could put
Loads automatically when you open files where the
cpp. If it doesn't work, try setting
filetype plugin on.
Or you could do
autocmd FileType cpp :setlocal iskeyword-=:
.vimrc, but I recommend you put it in a ftplugin - it keeps your