vimrc: Enable XML folding
This commit is contained in:
parent
e0268dd074
commit
33b77be923
1 changed files with 8 additions and 0 deletions
8
.vimrc
8
.vimrc
|
@ -42,6 +42,14 @@ call vundle#begin()
|
|||
endif
|
||||
call vundle#end()
|
||||
|
||||
augroup XML
|
||||
autocmd!
|
||||
autocmd FileType xml let g:xml_syntax_folding=1
|
||||
autocmd FileType xml setlocal foldmethod=syntax
|
||||
autocmd FileType xml :syntax on
|
||||
autocmd FileType xml :%foldopen!
|
||||
augroup END
|
||||
|
||||
colorscheme solarized
|
||||
call togglebg#map("<F5>")
|
||||
let load_doxygen_syntax = 1
|
||||
|
|
Loading…
Reference in a new issue