Merge pull request #1455 from Christian-Gibbons/flawfinder_cpp_severity_fix
Fix Flawfinder for C++
This commit is contained in:
commit
a2acdecbc2
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
call ale#Set('cpp_flawfinder_executable', 'flawfinder')
|
call ale#Set('cpp_flawfinder_executable', 'flawfinder')
|
||||||
call ale#Set('cpp_flawfinder_options', '')
|
call ale#Set('cpp_flawfinder_options', '')
|
||||||
call ale#Set('cpp_flawfinder_minlevel', 1)
|
call ale#Set('cpp_flawfinder_minlevel', 1)
|
||||||
|
call ale#Set('c_flawfinder_error_severity', 6)
|
||||||
|
|
||||||
function! ale_linters#cpp#flawfinder#GetExecutable(buffer) abort
|
function! ale_linters#cpp#flawfinder#GetExecutable(buffer) abort
|
||||||
return ale#Var(a:buffer, 'cpp_flawfinder_executable')
|
return ale#Var(a:buffer, 'cpp_flawfinder_executable')
|
||||||
|
|
Reference in a new issue