summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorjhlink <jhlink@users.noreply.github.com>2020-07-30 10:07:53 -0400
committerjhlink <jhlink@users.noreply.github.com>2020-07-30 10:07:53 -0400
commit84a413350c30130b084097a09bfab72e0a323406 (patch)
tree81c50d4c2b611317feaf08ee8c507011d5330c97 /autoload
parentac2ebafadd765746567c18058f8302f09e445c13 (diff)
downloadale-84a413350c30130b084097a09bfab72e0a323406.zip
fix: Replace hardcoded quotes with ale#Escape
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 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)