update yapf default setting

This commit is contained in:
Hangqi Wu 2016-06-01 13:54:05 +08:00
parent 0dcc7b3189
commit 4920e754c0

View File

@ -42,7 +42,7 @@ if !exists('g:formatter_yapf_style')
let g:formatter_yapf_style = 'pep8' let g:formatter_yapf_style = 'pep8'
endif endif
if !exists('g:formatdef_yapf') if !exists('g:formatdef_yapf')
let g:formatdef_yapf = "'yapf --style={based_on_style:'.g:formatter_yapf_style.',indent_width:'.&shiftwidth.'} -l '.a:firstline.'-'.a:lastline" let g:formatdef_yapf = "'yapf --style=''{based_on_style:'.g:formatter_yapf_style.',indent_width:'.&shiftwidth.'}'' -l '.a:firstline.'-'.a:lastline"
endif endif
if !exists('g:formatters_python') if !exists('g:formatters_python')