neovim: Enable spell checking per file type
This commit is contained in:
parent
d549e5eca1
commit
acfd4d8e3a
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue