diff options
author | w0rp <devw0rp@gmail.com> | 2019-02-06 18:05:13 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-02-06 18:05:13 +0000 |
commit | 3e11cbd18da3852fab5dee3f743bc60dc87f0775 (patch) | |
tree | 0ca2b5c0e3a8a60b48ffbe569a12f6ac9687cd65 /ale_linters/cpp/flawfinder.vim | |
parent | 4d426bf2873c6e1cd2c71e478c756903307628d3 (diff) | |
download | ale-3e11cbd18da3852fab5dee3f743bc60dc87f0775.zip |
Update syntax checking
* Line continuation characters should be on the same lines.
* .vim file line indentation should be a multiple of 4.
Diffstat (limited to 'ale_linters/cpp/flawfinder.vim')
-rw-r--r-- | ale_linters/cpp/flawfinder.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ale_linters/cpp/flawfinder.vim b/ale_linters/cpp/flawfinder.vim index 4f669bff..0a966604 100644 --- a/ale_linters/cpp/flawfinder.vim +++ b/ale_linters/cpp/flawfinder.vim @@ -7,13 +7,13 @@ call ale#Set('cpp_flawfinder_minlevel', 1) call ale#Set('c_flawfinder_error_severity', 6) function! ale_linters#cpp#flawfinder#GetCommand(buffer) abort - " Set the minimum vulnerability level for flawfinder to bother with - let l:minlevel = ' --minlevel=' . ale#Var(a:buffer, 'cpp_flawfinder_minlevel') + " Set the minimum vulnerability level for flawfinder to bother with + let l:minlevel = ' --minlevel=' . ale#Var(a:buffer, 'cpp_flawfinder_minlevel') - return '%e -CDQS' - \ . ale#Var(a:buffer, 'cpp_flawfinder_options') - \ . l:minlevel - \ . ' %t' + return '%e -CDQS' + \ . ale#Var(a:buffer, 'cpp_flawfinder_options') + \ . l:minlevel + \ . ' %t' endfunction call ale#linter#Define('cpp', { |