html indent detection fixed

This commit is contained in:
Light Leung 2016-12-13 12:18:24 +08:00 committed by GitHub
parent aa977617ba
commit 4feb305c5f

View File

@ -191,7 +191,7 @@ endif
" HTML " HTML
if !exists('g:formatdef_htmlbeautify') 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 endif
if !exists('g:formatdef_tidy_html') if !exists('g:formatdef_tidy_html')