diff --git a/plugin/defaults.vim b/plugin/defaults.vim index 9b5afe0..2c39152 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -35,10 +35,10 @@ endif if !exists("g:formatprg_html") | let g:formatprg_html = "html-beautify" | endif if !exists("g:formatprg_args_expr_html") && !exists("g:formatprg_args_html") - let g:formatprg_args_expr_html = '"-f - -s".&shiftwidth' + let g:formatprg_args_expr_html = '"-f - -s ".&shiftwidth' endif if !exists("g:formatprg_javascript") | let g:formatprg_javascript = "js-beautify" | endif if !exists("g:formatprg_args_expr_javascript") && !exists("g:formatprg_args_javascript") - let g:formatprg_args_expr_javascript = '"-f - -".(&expandtab ? "" : "t")."s ".&shiftwidth' + let g:formatprg_args_expr_javascript = '"-f - -".(&expandtab ? "s ".&shiftwidth : "t")' endif