From 4feb305c5f46d8d2fd9aaeab95164d60864b3c5c Mon Sep 17 00:00:00 2001 From: Light Leung Date: Tue, 13 Dec 2016 12:18:24 +0800 Subject: [PATCH] html indent detection fixed --- plugin/defaults.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/defaults.vim b/plugin/defaults.vim index 3e37473..333ed20 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -191,7 +191,7 @@ endif " HTML if !exists('g:formatdef_htmlbeautify') - let g:formatdef_htmlbeautify = '"html-beautify -f - -s ".shiftwidth()' + let g:formatdef_htmlbeautify = '"html-beautify -f - -".(&expandtab ? "s ".shiftwidth() : "t")' endif if !exists('g:formatdef_tidy_html')