commit dcc5b9a0ff1153506bbaca0dcf155d28f01fab34
parent 2f53b6f85be07a47e6dc1033a2d8d5b7991d0d5e
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Wed, 18 Jan 2017 09:08:55 -0800
fix spellcheck in certain file types
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.vimrc b/.vimrc
@@ -714,7 +714,7 @@ let g:indentLine_char = '┆'
nnoremap <leader>f :exe 'set fo'.(&fo=~'a'?'-':'+').'=a'<CR>
" enable spell checking by default for certain file types
-autocmd FileType tex,md,rst,mail setlocal spell
+autocmd FileType tex,md,rst,mail :setlocal spell spelllang=en_us
"
" customize what is concealed in LaTeX documents:
" a = conceal accents/ligatures