summaryrefslogtreecommitdiff
path: root/ale_linters/cpp
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-10-28 13:14:14 +0000
committerGitHub <noreply@github.com>2019-10-28 13:14:14 +0000
commit0d4dfb61dc2bcb82612ae7407e9a6cbc7b020576 (patch)
treeaf3aa8ebbb8adfbb1bba65bd484de417893c8973 /ale_linters/cpp
parent67d0ccc398ca7650bb2c774a94d098bee3049169 (diff)
parent62602569b33d61d899da4345009dcc4b373d80d8 (diff)
downloadale-0d4dfb61dc2bcb82612ae7407e9a6cbc7b020576.zip
Merge pull request #2700 from elebow/clangcheck-no-color-diagnostics
clangcheck: Add -fno-color-diagnostics (closes #2188)
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