You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@cspell/filetypes: add a Vim file type (.vim, .vimrc) #9489
@cspell/filetypes has no Vim file type: findMatchingFileTypes('x.vim') and findMatchingFileTypes('.vimrc') both return [] (cspell 10.4.0).
So a dictionary can't turn on for Vim script by languageId; @cspell/dict-vim currently turns on nowhere (see the cspell-dicts issue). Vim script files are usually *.vim, .vimrc, _vimrc, vimrc and .gvimrc. (I haven't checked which language ID VS Code's Vim extensions use.)
A vim file type with those extensions and file names would let languageSettings with languageId: "vim" work.
Activity
G26karthik commentedon Nov 6, 2026
Thank you for raising this. I can send a PR adding a
vimfile type for.vim,.vimrcand_vimrc. Isvimthe language ID you want?Jason3S commentedon Nov 6, 2026
@G26karthik,
Yes, that would be great.