Set xmllint as xml format
This commit is contained in:
1
init.vim
1
init.vim
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user