diff options
author | jhlink <jhlink@users.noreply.github.com> | 2020-07-30 10:07:53 -0400 |
---|---|---|
committer | jhlink <jhlink@users.noreply.github.com> | 2020-07-30 10:07:53 -0400 |
commit | 84a413350c30130b084097a09bfab72e0a323406 (patch) | |
tree | 81c50d4c2b611317feaf08ee8c507011d5330c97 /autoload | |
parent | ac2ebafadd765746567c18058f8302f09e445c13 (diff) | |
download | ale-84a413350c30130b084097a09bfab72e0a323406.zip |
fix: Replace hardcoded quotes with ale#Escape
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/fixers/astyle.vim | 2 |
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) |