From 7186a54af92e8ebb746ae334968abec8eb2b0f06 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sun, 19 Nov 2017 12:41:01 -0600 Subject: [PATCH] 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. --- plugin/defaults.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/defaults.vim b/plugin/defaults.vim index c1abf51..b13f2af 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -287,6 +287,10 @@ if !exists('g:formatters_xml') let g:formatters_xml = ['tidy_xml'] endif +" SVG +if !exists('g:formatters_svg') + let g:formatters_svg = ['tidy_xml'] +endif " XHTML if !exists('g:formatdef_tidy_xhtml')