How can I disable spell check for files likes yaml, json?
1 Answer
You can add to your init.vim or .vimrc
autocmd FileType yaml,json setlocal nospell
Also, if you open a file and want to to disable the spell check:
:set nospell
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityYou can add to your init.vim or .vimrc
autocmd FileType yaml,json setlocal nospell
Also, if you open a file and want to to disable the spell check:
:set nospell