summaryrefslogtreecommitdiff
path: root/ale_linters/cpp
diff options
context:
space:
mode:
authorchristian-gibbons <cgibbons@gmu.edu>2018-03-28 14:09:03 +0000
committerchristian-gibbons <cgibbons@gmu.edu>2018-03-28 14:09:03 +0000
commitf1d56a343e792a96f5fa753d5de5c33ec1e9af56 (patch)
tree1ba2ea8d4c3cff71644c6a854e34a838546d611d /ale_linters/cpp
parent95ec9bb780198d0ebc0f175debc286b43dd5fc27 (diff)
downloadale-f1d56a343e792a96f5fa753d5de5c33ec1e9af56.zip
Flawfinder for C++:
Fix missing variable causing flawfinder to fail for c++
Diffstat (limited to 'ale_linters/cpp')
-rw-r--r--ale_linters/cpp/flawfinder.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/cpp/flawfinder.vim b/ale_linters/cpp/flawfinder.vim
index c63ecb38..5a7092cf 100644
--- a/ale_linters/cpp/flawfinder.vim
+++ b/ale_linters/cpp/flawfinder.vim
@@ -4,6 +4,7 @@
call ale#Set('cpp_flawfinder_executable', 'flawfinder')
call ale#Set('cpp_flawfinder_options', '')
call ale#Set('cpp_flawfinder_minlevel', 1)
+call ale#Set('c_flawfinder_error_severity', 6)
function! ale_linters#cpp#flawfinder#GetExecutable(buffer) abort
return ale#Var(a:buffer, 'cpp_flawfinder_executable')