Flawfinder for C++:

Fix missing variable causing flawfinder to fail for c++
This commit is contained in:
christian-gibbons 2018-03-28 14:09:03 +00:00
parent 95ec9bb780
commit f1d56a343e

View File

@ -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')