[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

@ -1,9 +1,8 @@
# @joshtronic does dotfiles # @joshtronic does dotfiles
These are my dotfiles. There are many like them, but these are mine. My These are my dotfiles. There are many like them, but these are mine. My dotfiles
dotfiles are my best friend. They are my life. I must master them as I must are my best friend. They are my life. I must master them as I must master my
master my life. My dotfiles, without me, are useless. Without my dotfiles, I am life. My dotfiles, without me, are useless. Without my dotfiles, I am useless.
useless.
## Stupid simple installation one-liner ## Stupid simple installation one-liner

View file

@ -55,7 +55,7 @@ autocmd BufNewFile,BufRead *.handlebars set filetype=html.handlebars
autocmd FileType go setlocal noexpandtab autocmd FileType go setlocal noexpandtab
autocmd FileType php setlocal smartindent tabstop=4 shiftwidth=4 softtabstop=4 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() "autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()