summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/yapf.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/fixers/yapf.vim b/autoload/ale/fixers/yapf.vim
index 7d6dfdcb..ba7453b8 100644
--- a/autoload/ale/fixers/yapf.vim
+++ b/autoload/ale/fixers/yapf.vim
@@ -17,10 +17,10 @@ function! ale#fixers#yapf#Fix(buffer) abort
let l:config = ale#path#FindNearestFile(a:buffer, '.style.yapf')
let l:config_options = !empty(l:config)
- \ ? ' --style ' . ale#Escape(l:config)
+ \ ? ' --no-local-style --style ' . ale#Escape(l:config)
\ : ''
return {
- \ 'command': ale#Escape(l:executable) . ' --no-local-style' . l:config_options,
+ \ 'command': ale#Escape(l:executable) . l:config_options,
\}
endfunction