~gpanders/dotfiles

96d83fc123c0b731a85edbdf45cf1eb6025feac4 — Greg Anders 1 year, 9 months ago 90e2d18
Don't set 'spell' automatically for markdown files
1 files changed, 1 insertions(+), 2 deletions(-)

M vim/.vim/after/ftplugin/markdown.vim
M vim/.vim/after/ftplugin/markdown.vim => vim/.vim/after/ftplugin/markdown.vim +1 -2
@@ 6,11 6,10 @@ let b:undo_ftplugin = get(b:, 'undo_ftplugin', '')
let g:markdown_interp_languages = ['python', 'sh=bash', 'bash', 'ruby', 'console=bash']

setlocal textwidth=79
setlocal spell
" https://github.com/tpope/vim-markdown/issues/134
setlocal comments=n:>
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^\\s*[-*+]\\s\\+\\\|^\\[^\\ze[^\\]]\\+\\]:
let b:undo_ftplugin .= '|setl tw< spell< com< flp<'
let b:undo_ftplugin .= '|setl tw< com< flp<'

if has('conceal')
  setlocal conceallevel=2