fix: Replace hardcoded quotes with ale#Escape

This commit is contained in:
jhlink 2020-07-30 10:07:53 -04:00
parent ac2ebafadd
commit 84a413350c
1 changed files with 1 additions and 1 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=''' . expand('#' . a:buffer) . ''''
let l:command = ' --stdin=' . ale#Escape(expand('#' . a:buffer))
return {
\ 'command': ale#Escape(l:executable)