Set xmllint as xml format

This commit is contained in:
Oliver Hartmann 2019-07-19 14:30:54 +02:00
parent 50c947a829
commit 73b91725a6

View File

@ -101,6 +101,7 @@ au BufRead,BufNewFile Jenkinsfile* set filetype=groovy
autocmd BufNewFile,BufRead *.manifest set filetype=xml autocmd BufNewFile,BufRead *.manifest set filetype=xml
autocmd BufNewFile,BufReadPre SConstruct set filetype=python autocmd BufNewFile,BufReadPre SConstruct set filetype=python
autocmd BufNewFile,BufReadPre SConscript set filetype=python autocmd BufNewFile,BufReadPre SConscript set filetype=python
autocmd FileType xml nnoremap <F10> :% !xmllint.exe "%" --format<CR>
autocmd FileType json syntax match Comment +\/\/.\+$+ autocmd FileType json syntax match Comment +\/\/.\+$+
" =================Windows and Tabs==================== " =================Windows and Tabs====================
" Open a new tab with F2 " Open a new tab with F2