From 84a413350c30130b084097a09bfab72e0a323406 Mon Sep 17 00:00:00 2001 From: jhlink Date: Thu, 30 Jul 2020 10:07:53 -0400 Subject: [PATCH] fix: Replace hardcoded quotes with ale#Escape --- autoload/ale/fixers/astyle.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/fixers/astyle.vim b/autoload/ale/fixers/astyle.vim index 33a3c166..3a5a70a1 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=''' . expand('#' . a:buffer) . '''' + let l:command = ' --stdin=' . ale#Escape(expand('#' . a:buffer)) return { \ 'command': ale#Escape(l:executable)