[vim] enable spellcheck for markdown files

Me no spell so good, want vim help that. Also reformatted the readme a
bit
This commit is contained in:
Josh Sherman 2017-04-24 00:28:31 -05:00
parent f4701cca42
commit 0e9b0ce223
No known key found for this signature in database
GPG key ID: 55B058A80530EF22
2 changed files with 4 additions and 5 deletions

View file

@ -55,7 +55,7 @@ autocmd BufNewFile,BufRead *.handlebars set filetype=html.handlebars
autocmd FileType go setlocal noexpandtab
autocmd FileType php setlocal smartindent tabstop=4 shiftwidth=4 softtabstop=4
autocmd FileType markdown,text setlocal nosmartindent textwidth=80 wrapmargin=2
autocmd FileType markdown,text setlocal nosmartindent textwidth=80 wrapmargin=2 spell
"autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()