vimrc: Enable XML folding

This commit is contained in:
Tobias Schmidl 2022-01-02 10:19:15 +01:00
parent e0268dd074
commit 33b77be923

8
.vimrc
View file

@ -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