[vim] better list autoformatting

This commit is contained in:
Fernando Schauenburg 2018-04-15 11:22:16 +02:00
parent 5201424b13
commit 1cf275f807

View file

@ -17,7 +17,9 @@ set nocompatible
set foldlevelstart=100 set foldlevelstart=100
set foldmethod=syntax set foldmethod=syntax
set foldnestmax=10 set foldnestmax=10
let &formatlistpat='^\s*\(\d\+[\]:.)}\t ]\|[-*]\|\[[ x]\]\|([ x])\)\s*'
set formatoptions-=t set formatoptions-=t
set formatoptions+=jn
set hidden set hidden
set history=1000 set history=1000
set hlsearch set hlsearch