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 GitHub
commit a2acdecbc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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