mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 16:38:57 +08:00
1 parent
3c85c7ef65
commit
244c5a8ce5
2 files changed
+23
-2
No files matched your search
@@ -23,8 +23,10 @@ function! ale_linters#gitcommit#gitlint#Handle(buffer, lines) abort
|
||||
for l:match in ale#util#GetMatches(a:lines, l:pattern)
|
||||
let l:code = l:match[2]
|
||||
|
||||
if l:code is# 'T2' && !ale#Var(a:buffer, 'warn_about_trailing_whitespace')
|
||||
continue
|
||||
if !ale#Var(a:buffer, 'warn_about_trailing_whitespace')
|
||||
if l:code is# 'T2' || l:code is# 'B2'
|
||||
continue
|
||||
endif
|
||||
endif
|
||||
|
||||
let l:item = {
|
||||
|
||||
Reference in new issue
Block a user