~gpanders/dotfiles

ref: 1e9f8dd001f12b57c7ff1b45adb7c59541b752c6 dotfiles/.vim/after/ftplugin/gitcommit.vim -rw-r--r-- 342 bytes
1e9f8dd0Gregory Anders fish: remove fuzzy finder from buku alias 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
let b:undo_ftplugin = get(b:, 'undo_ftplugin', '')

" enable spell check
setlocal spell
setlocal textwidth=72
setlocal formatoptions+=cn
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^\\s*[-*+]\\s\\+\\\|^\\[^\\ze[^\\]]\\+\\]:

let b:undo_ftplugin .= '|setl tw< spell< fo< flp<'

" warning if first line too long
match ErrorMsg /\%1l.\%>51v/