summaryrefslogtreecommitdiff
path: root/ale_linters/asm/gcc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/asm/gcc.vim')
-rw-r--r--ale_linters/asm/gcc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/asm/gcc.vim b/ale_linters/asm/gcc.vim
index 1ff348d8..39b1f7c2 100644
--- a/ale_linters/asm/gcc.vim
+++ b/ale_linters/asm/gcc.vim
@@ -5,7 +5,7 @@ let g:ale_asm_gcc_options = get(g:, 'ale_asm_gcc_options', '-Wall')
function! ale_linters#asm#gcc#GetCommand(buffer) abort
return 'gcc -x assembler -fsyntax-only '
- \ . '-iquote ' . shellescape(fnamemodify(bufname(a:buffer), ':p:h'))
+ \ . '-iquote ' . ale#Escape(fnamemodify(bufname(a:buffer), ':p:h'))
\ . ' ' . ale#Var(a:buffer, 'asm_gcc_options') . ' -'
endfunction