diff options
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/c/flawfinder.vim | 3 | ||||
-rw-r--r-- | ale_linters/cpp/flawfinder.vim | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ale_linters/c/flawfinder.vim b/ale_linters/c/flawfinder.vim index 27f269f5..df6fbebe 100644 --- a/ale_linters/c/flawfinder.vim +++ b/ale_linters/c/flawfinder.vim @@ -4,6 +4,7 @@ call ale#Set('c_flawfinder_executable', 'flawfinder') call ale#Set('c_flawfinder_options', '') call ale#Set('c_flawfinder_minlevel', 1) +call ale#Set('c_flawfinder_error_severity', 6) function! ale_linters#c#flawfinder#GetExecutable(buffer) abort return ale#Var(a:buffer, 'c_flawfinder_executable') @@ -26,5 +27,5 @@ call ale#linter#Define('c', { \ 'output_stream': 'stdout', \ 'executable_callback': 'ale_linters#c#flawfinder#GetExecutable', \ 'command_callback': 'ale_linters#c#flawfinder#GetCommand', -\ 'callback': 'ale#handlers#gcc#HandleGCCFormat', +\ 'callback': 'ale#handlers#flawfinder#HandleFlawfinderFormat', \}) diff --git a/ale_linters/cpp/flawfinder.vim b/ale_linters/cpp/flawfinder.vim index a19f5962..c63ecb38 100644 --- a/ale_linters/cpp/flawfinder.vim +++ b/ale_linters/cpp/flawfinder.vim @@ -26,5 +26,5 @@ call ale#linter#Define('cpp', { \ 'output_stream': 'stdout', \ 'executable_callback': 'ale_linters#cpp#flawfinder#GetExecutable', \ 'command_callback': 'ale_linters#cpp#flawfinder#GetCommand', -\ 'callback': 'ale#handlers#gcc#HandleGCCFormat', +\ 'callback': 'ale#handlers#flawfinder#HandleFlawfinderFormat', \}) |