diff --git a/vim/filetype.vim b/vim/filetype.vim index a988838..497625a 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -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