0

How can I disable spell check for files likes yaml, json?

1 Answer 1

1

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
1
  • Or even better, use your after/ftplugin directory.
    – r_31415
    Sep 22, 2022 at 2:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.