From 73b91725a6b5dd2ba5a60fb4d7c12ad822958aa8 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Fri, 19 Jul 2019 14:30:54 +0200 Subject: [PATCH] Set xmllint as xml format --- init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/init.vim b/init.vim index 9a8c840..1adef2b 100644 --- a/init.vim +++ b/init.vim @@ -101,6 +101,7 @@ au BufRead,BufNewFile Jenkinsfile* set filetype=groovy autocmd BufNewFile,BufRead *.manifest set filetype=xml autocmd BufNewFile,BufReadPre SConstruct set filetype=python autocmd BufNewFile,BufReadPre SConscript set filetype=python +autocmd FileType xml nnoremap :% !xmllint.exe "%" --format autocmd FileType json syntax match Comment +\/\/.\+$+ " =================Windows and Tabs==================== " Open a new tab with F2