mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-18 06:19:49 +08:00
fix: Replace hardcoded quotes with ale#Escape
This commit is contained in:
@@ -49,7 +49,7 @@ endfunction
|
|||||||
function! ale#fixers#astyle#Fix(buffer) abort
|
function! ale#fixers#astyle#Fix(buffer) abort
|
||||||
let l:executable = ale#fixers#astyle#Var(a:buffer, 'executable')
|
let l:executable = ale#fixers#astyle#Var(a:buffer, 'executable')
|
||||||
let l:proj_options = ale#fixers#astyle#FindProjectOptions(a:buffer)
|
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 {
|
return {
|
||||||
\ 'command': ale#Escape(l:executable)
|
\ 'command': ale#Escape(l:executable)
|
||||||
|
|||||||
Reference in New Issue
Block a user