fix: Find proj_options in same dir for astyle

This commit is contained in:
jhlink
2020-07-30 09:29:33 -04:00
parent e03e24c091
commit d49b06e030
2 changed files with 11 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ endfunction
function! ale#fixers#astyle#Fix(buffer) abort
let l:executable = ale#fixers#astyle#Var(a:buffer, 'executable')
let l:proj_options = ale#fixers#astyle#FindProjectOptions(a:buffer)
let l:command = ' --stdin='
let l:command = ' --stdin=''' . expand('#' . a:buffer) . ''''
return {
\ 'command': ale#Escape(l:executable)