[vim] better list autoformatting
This commit is contained in:
parent
5201424b13
commit
1cf275f807
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue