update yapf default setting
This commit is contained in:
parent
0dcc7b3189
commit
4920e754c0
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user