dotfiles

Author: Kyle Fuller <kyle@fuller.li> 2015-10-09 22:04:29 -0700 -0700
Committer: Kyle Fuller <kyle@fuller.li> 2015-10-09 22:04:29 -0700 -0700
Commit: aad7096c8dfaa717c66c7cd2614844e2c26f919d
Parent: 134a6cccc698f92aadfdf9c7705dfee68f5142b3


[vim] Show spelling mistakes in markdown and APIB
diff --git a/.vimrc b/.vimrc
index a7ab26578cfb9a07b52f7a4e3a1d9c1c08ba2517..d3bb1abb7f4751a4aa048fb8e1af843d03a89f0b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -12,7 +12,6 @@ Plug 'kylef/apiblueprint.vim'
 Plug 'nanotech/jellybeans.vim'
 Plug 'nvie/vim-flake8'
 Plug 'scrooloose/syntastic'
-Plug 'tpope/vim-markdown'
 Plug 'tpope/vim-sensible'
 
 call plug#end()
@@ -58,8 +57,6 @@ " Formatting
 set tabstop=4 " Use 4 spaces to a tab
 set shiftwidth=4 " As above
 set expandtab " Expand tabs into spaces
-autocmd FileType cpp set noexpandtab
-autocmd FileType gitcommit setlocal spell textwidth=72
 set showbreak=↪
 
 " Completion
@@ -68,6 +65,12 @@ set completeopt=menu
 set wildmenu                                           " Better completion in the CLI
 set wildmode=longest:full,full                         " Completion settings
 set wildignore+=*/venv/*
+
+" Files
+autocmd FileType cpp set noexpandtab
+autocmd FileType gitcommit setlocal spell textwidth=72
+autocmd FileType markdown setlocal spell textwidth=79
+autocmd FileType apiblueprint setlocal spell textwidth=79
 
 " Yeah... these get typoed
 command W w