~gpanders/dotfiles

ref: 12291d3163062a0a3c879f53a0b0d02541376ca4 dotfiles/vim/.vim/after/ftplugin/markdown.vim -rw-r--r-- 286 bytes
12291d31Greg Anders [vim] Make git commit buffers in vim always start at line 1 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" Markdown
if &filetype !=# 'markdown'
  finish
endif

setlocal textwidth=80
setlocal spell

if exists('b:undo_ftplugin')
  let b:undo_ftplugin .= '|setl tw< spell<'
else
  let b:undo_ftplugin = 'setl tw< spell<'
endif

if exists(':Goyo')
  Goyo
  let b:undo_ftplugin .= '|Goyo!'
endif