diff options
author | w0rp <devw0rp@gmail.com> | 2017-12-20 10:46:08 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-12-20 10:46:08 +0000 |
commit | 87ffc9b55ca9f6aa3ca8acc2babeb26cf2a78b51 (patch) | |
tree | b7f857f80fc54c11e6c2abf7c345a40fdc118599 /ale_linters/gitcommit/gitlint.vim | |
parent | d4b43d23f4a9f277a482fdad4ea3a3e951d80eab (diff) | |
download | ale-87ffc9b55ca9f6aa3ca8acc2babeb26cf2a78b51.zip |
Make the error codes configurable for gitlint
Diffstat (limited to 'ale_linters/gitcommit/gitlint.vim')
-rw-r--r-- | ale_linters/gitcommit/gitlint.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/gitcommit/gitlint.vim b/ale_linters/gitcommit/gitlint.vim index 991d5a1a..49aeda7c 100644 --- a/ale_linters/gitcommit/gitlint.vim +++ b/ale_linters/gitcommit/gitlint.vim @@ -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', \} |