summaryrefslogtreecommitdiff
path: root/ale_linters/cpp
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-04-05 15:00:08 +0100
committerGitHub <noreply@github.com>2018-04-05 15:00:08 +0100
commita2acdecbc2d03fbf03e74835086532b62e60665c (patch)
tree30c9742eb948b7ae43564081f6c0d1187274cfaa /ale_linters/cpp
parent8baab691e9bba61d928388572725b72aa5ce9268 (diff)
parentf1d56a343e792a96f5fa753d5de5c33ec1e9af56 (diff)
downloadale-a2acdecbc2d03fbf03e74835086532b62e60665c.zip
Merge pull request #1455 from Christian-Gibbons/flawfinder_cpp_severity_fix
Fix Flawfinder 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')