summaryrefslogtreecommitdiff
path: root/ale_linters/cpp
diff options
context:
space:
mode:
authorEddie Lebow <elebow@users.noreply.github.com>2019-08-15 00:00:34 -0400
committerEddie Lebow <elebow@users.noreply.github.com>2019-09-26 20:28:33 -0400
commit62602569b33d61d899da4345009dcc4b373d80d8 (patch)
tree876ada8d24cea3746fc8c0907dcae918e29d7b23 /ale_linters/cpp
parent28c93ab1854ef41a46855401cc4addbaf7dfb9d4 (diff)
downloadale-62602569b33d61d899da4345009dcc4b373d80d8.zip
clangcheck: Add -fno-color-diagnostics
Also change to the modern --extra-arg syntax.
Diffstat (limited to 'ale_linters/cpp')
-rw-r--r--ale_linters/cpp/clangcheck.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/cpp/clangcheck.vim b/ale_linters/cpp/clangcheck.vim
index 7d32a57c..4cb04864 100644
--- a/ale_linters/cpp/clangcheck.vim
+++ b/ale_linters/cpp/clangcheck.vim
@@ -20,7 +20,7 @@ function! ale_linters#cpp#clangcheck#GetCommand(buffer) abort
" being generated. These are only added if no build directory can be
" detected.
return '%e -analyze %s'
- \ . (empty(l:build_dir) ? ' -extra-arg -Xclang -extra-arg -analyzer-output=text' : '')
+ \ . (empty(l:build_dir) ? ' --extra-arg=-Xclang --extra-arg=-analyzer-output=text --extra-arg=-fno-color-diagnostics': '')
\ . ale#Pad(l:user_options)
\ . (!empty(l:build_dir) ? ' -p ' . ale#Escape(l:build_dir) : '')
endfunction