Change quoting in yapf definition.

This commit is contained in:
Chiel ten Brinke 2016-06-09 09:36:31 +02:00
parent 4920e754c0
commit 10bf7def12

View File

@ -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')