Spellcheck for .md and .rst
This commit is contained in:
parent
ccdbd6417d
commit
dc43f5bdba
4
.vimrc
4
.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
|
||||
|
Loading…
Reference in New Issue
Block a user