Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions extras/vim/ftplugin/cve.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
if exists('b:did_ftplugin') | finish | endif
let b:did_ftplugin = 1

" retain default autoindent behavior, but also allow reflowing 'gqgq' with
" lists properly
setlocal autoindent
setlocal formatoptions+=n
setlocal comments= " let formatlistpat own all bullet reflow
setlocal formatlistpat&
let &l:formatlistpat .= '\|^\s*[-*+]\s\+'
Loading