I still haven't seen anyone using a spellchecker in code outside of IntelliJ
https://marketplace.visualstudio.com/items?itemName=streetsi...
I have this in my vimrc file so it's on by default for certain file types:
" Turn on spellcheck for certain filetypes and word completion.
" words can be added to the dict by pressing 'zg' with cursor on word.
autocmd Filetype markdown setlocal spell
autocmd Filetype gitcommit setlocal spell
set complete+=kspell
" Don't highlight in red an underscore (_) in markdown
" https://vi.stackexchange.com/q/18471/17441
autocmd Filetype markdown syn match markdownIgnore "\v\w_\w"
Custom additions to the dictionary will go to a simple text file (one word per line) in `~/.vim/spell/en.utf-8.add` (depending on your settings) where it is easy to edit or backup.You can also add it directly when using it. Move the cursor to the word and (I forget the command...) can add it as a rare word, good word or bad word.