Enable folding for XML files
This commit is contained in:
@@ -3,3 +3,6 @@ setlocal softtabstop=2
|
|||||||
setlocal shiftwidth=2
|
setlocal shiftwidth=2
|
||||||
setlocal expandtab
|
setlocal expandtab
|
||||||
setlocal autoindent
|
setlocal autoindent
|
||||||
|
set foldlevelstart=99
|
||||||
|
let g:xml_syntax_folding=1
|
||||||
|
setlocal foldmethod=syntax
|
||||||
|
|||||||
@@ -61,3 +61,6 @@ elseif has('unix')
|
|||||||
" Nice font and size (escape spaces) (GUI only)
|
" Nice font and size (escape spaces) (GUI only)
|
||||||
set guifont=Luxi\ Mono\ 9
|
set guifont=Luxi\ Mono\ 9
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Open all folds by default
|
||||||
|
set foldlevelstart=99
|
||||||
|
|||||||
Reference in New Issue
Block a user