summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorjhlink <jhlink@users.noreply.github.com>2020-07-30 09:29:33 -0400
committerjhlink <jhlink@users.noreply.github.com>2020-07-30 09:29:33 -0400
commitd49b06e0301bb526465ae1c058583114bf619cdf (patch)
tree1b3d8ec5c9061ba7b7227215283dfe3f7e69bf3d /autoload
parente03e24c091c601a821379d259191583b39bcf23e (diff)
downloadale-d49b06e0301bb526465ae1c058583114bf619cdf.zip
fix: Find proj_options in same dir for astyle
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/astyle.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/fixers/astyle.vim b/autoload/ale/fixers/astyle.vim
index 04e4b69a..33a3c166 100644
--- a/autoload/ale/fixers/astyle.vim
+++ b/autoload/ale/fixers/astyle.vim
@@ -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)