diff options
author | w0rp <devw0rp@gmail.com> | 2021-02-06 20:13:28 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-02-06 20:13:28 +0000 |
commit | 388cf3374312b05122151bc68691bf09a69ff840 (patch) | |
tree | 9ea7985343d4ecc412420321f8f1bf59673108aa /ale_linters/cpp | |
parent | 77c034884b49dee0af6bc1024884921079cc9bdb (diff) | |
download | ale-388cf3374312b05122151bc68691bf09a69ff840.zip |
Fix #3579 - Escape cppcheck arguments for Windowsv3.1.0
Diffstat (limited to 'ale_linters/cpp')
-rw-r--r-- | ale_linters/cpp/cppcheck.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/cpp/cppcheck.vim b/ale_linters/cpp/cppcheck.vim index 2c832246..2578861d 100644 --- a/ale_linters/cpp/cppcheck.vim +++ b/ale_linters/cpp/cppcheck.vim @@ -10,7 +10,7 @@ function! ale_linters#cpp#cppcheck#GetCommand(buffer) abort let l:buffer_path_include = empty(l:compile_commands_option) \ ? ale#handlers#cppcheck#GetBufferPathIncludeOptions(a:buffer) \ : '' - let l:template = ' --template=''{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]\\n{code}''' + let l:template = ' --template=' . ale#Escape('{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]\\n{code}') return l:cd_command \ . '%e -q --language=c++' |