Make the error codes configurable for gitlint

This commit is contained in:
w0rp
2017-12-20 10:46:08 +00:00
parent d4b43d23f4
commit 87ffc9b55c
2 changed files with 10 additions and 5 deletions

View File

@@ -30,7 +30,8 @@ function! ale_linters#gitcommit#gitlint#Handle(buffer, lines) abort
let l:item = {
\ 'lnum': l:match[1] + 0,
\ 'text': l:code . ': ' . l:match[3],
\ 'text': l:match[3],
\ 'code': l:code,
\ 'type': 'E',
\}