1
0
Fork 0

neovim: Enable spell checking per file type

This commit is contained in:
coderkun 2023-12-23 18:06:15 +01:00
parent d549e5eca1
commit acfd4d8e3a

View file

@ -13,3 +13,10 @@ augroup WrapLineInTeXFile
autocmd FileType tex setlocal linebreak autocmd FileType tex setlocal linebreak
autocmd FileType tex setlocal nonumber autocmd FileType tex setlocal nonumber
augroup END augroup END
augroup SpellCheck
autocmd!
autocmd FileType go setlocal spell spelllang=en_us
autocmd FileType java setlocal spell spelllang=en_us
autocmd FileType markdown setlocal spell spelllang=en_us
augroup END