Watch
1
0
Fork
You've already forked dotfiles
0

neovim: Enable spell checking per file type

This commit is contained in:
coderkun 2023-12-23 18:06:15 +01:00
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