neovim: Enable spell checking per file type
This commit is contained in:
parent
d549e5eca1
commit
acfd4d8e3a
|
@ -13,3 +13,10 @@ augroup WrapLineInTeXFile
|
|||
autocmd FileType tex setlocal linebreak
|
||||
autocmd FileType tex setlocal nonumber
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue