From dc43f5bdbaea8bc94322e7f21800d26f0af69edd Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Fri, 5 Jun 2020 12:53:40 +0200 Subject: [PATCH] Spellcheck for .md and .rst --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) 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