From f36d2dcf2d4c32458a00b64a75df741eca76b9ed Mon Sep 17 00:00:00 2001 From: Alok Singh Date: Sun, 8 Jan 2017 16:09:38 -0800 Subject: [PATCH] Update xhtml.vim (#29) Now using `shiftwidth()` for indention number --- autoload/neoformat/formatters/xhtml.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/neoformat/formatters/xhtml.vim b/autoload/neoformat/formatters/xhtml.vim index bc0c2020..885e8842 100644 --- a/autoload/neoformat/formatters/xhtml.vim +++ b/autoload/neoformat/formatters/xhtml.vim @@ -8,7 +8,7 @@ function! neoformat#formatters#xhtml#tidy() abort \ 'args': ['-quiet', \ '-asxhtml', \ '--indent auto', - \ '--indent-spaces 4', + \ '--indent-spaces '. shiftwidth(), \ '--vertical-space yes', \ '--tidy-mark no' \ ],