Set tidy_xml as the default formatter for SVG files

SVG is just XML + namespace, so tidy_xml is a good default formatter for
SVG files.
This commit is contained in:
Mahmoud Al-Qudsi 2017-11-19 12:41:01 -06:00
parent c32b27cd40
commit 7186a54af9

View File

@ -287,6 +287,10 @@ if !exists('g:formatters_xml')
let g:formatters_xml = ['tidy_xml'] let g:formatters_xml = ['tidy_xml']
endif endif
" SVG
if !exists('g:formatters_svg')
let g:formatters_svg = ['tidy_xml']
endif
" XHTML " XHTML
if !exists('g:formatdef_tidy_xhtml') if !exists('g:formatdef_tidy_xhtml')