fix: Replace hardcoded quotes with ale#Escape
This commit is contained in:
parent
ac2ebafadd
commit
84a413350c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue