fix: Find proj_options in same dir for astyle

This commit is contained in:
jhlink committed 2020-07-30 09:29:33 -04:00
1 parent e03e24c091
commit d49b06e030
2 files changed
+11 -6

No files matched your search

+1 -1
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)