a little fix

This commit is contained in:
Chiel92 2013-12-24 11:08:54 +01:00
parent 77e80232c3
commit a5ef8d6caa

View File

@ -35,10 +35,10 @@ endif
if !exists("g:formatprg_html") | let g:formatprg_html = "html-beautify" | 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") 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 endif
if !exists("g:formatprg_javascript") | let g:formatprg_javascript = "js-beautify" | 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") 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 endif