diff --git a/.vimrc b/.vimrc index 01e1633..eb5f843 100644 --- a/.vimrc +++ b/.vimrc @@ -61,6 +61,10 @@ if has("autocmd") " To spell check all git commit messages au BufNewFile,BufRead COMMIT_EDITMSG set spelllang=en_us spell nonumber nolist wrap linebreak + " To spell check all Markdown files + autocmd FileType markdown setlocal spell + autocmd BufRead,BufNewFile *.rst setlocal spell + " Set filetype tab settings autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et endif