Merge pull request #1455 from Christian-Gibbons/flawfinder_cpp_severity_fix
Fix Flawfinder for C++
This commit is contained in:
commit
a2acdecbc2
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user