From f1d56a343e792a96f5fa753d5de5c33ec1e9af56 Mon Sep 17 00:00:00 2001 From: christian-gibbons Date: Wed, 28 Mar 2018 14:09:03 +0000 Subject: [PATCH] Flawfinder for C++: Fix missing variable causing flawfinder to fail for c++ --- ale_linters/cpp/flawfinder.vim | 1 + 1 file changed, 1 insertion(+) 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')