From 4920e754c0361b18931687a2522150d30c7ed2ea Mon Sep 17 00:00:00 2001 From: Hangqi Wu Date: Wed, 1 Jun 2016 13:54:05 +0800 Subject: [PATCH] update yapf default setting --- plugin/defaults.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/defaults.vim b/plugin/defaults.vim index 41f63bc..5e00c28 100644 --- a/plugin/defaults.vim +++ b/plugin/defaults.vim @@ -42,7 +42,7 @@ if !exists('g:formatter_yapf_style') let g:formatter_yapf_style = 'pep8' endif 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 if !exists('g:formatters_python')