From 07b2542c0d6505f2a843e700d246367a522ecf64 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 12 May 2017 09:20:16 +0100 Subject: #549 Temporarily revert shell escaping changes, just for Windows --- ale_linters/cpp/clang.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/cpp/clang.vim') diff --git a/ale_linters/cpp/clang.vim b/ale_linters/cpp/clang.vim index bd4d26ef..430903fb 100644 --- a/ale_linters/cpp/clang.vim +++ b/ale_linters/cpp/clang.vim @@ -10,7 +10,7 @@ function! ale_linters#cpp#clang#GetCommand(buffer) abort " -iquote with the directory the file is in makes #include work for " headers in the same directory. return 'clang++ -S -x c++ -fsyntax-only ' - \ . '-iquote ' . shellescape(fnamemodify(bufname(a:buffer), ':p:h')) + \ . '-iquote ' . ale#Escape(fnamemodify(bufname(a:buffer), ':p:h')) \ . ' ' . ale#Var(a:buffer, 'cpp_clang_options') . ' -' endfunction -- cgit v1.2.3