Merge pull request #1455 from Christian-Gibbons/flawfinder_cpp_severity_fix

Fix Flawfinder for C++
This commit is contained in:
w0rp 2018-04-05 15:00:08 +01:00 committed by w0rp
parent 164c711b3d
commit 6e5a74285c
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 1 additions and 0 deletions

View File

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