summaryrefslogtreecommitdiff
path: root/ale_linters/erlang/elvis.vim
diff options
context:
space:
mode:
authorDmitri Vereshchagin <dmitri.vereshchagin@gmail.com>2021-11-12 10:50:56 +0300
committerGitHub <noreply@github.com>2021-11-12 16:50:56 +0900
commit76c2293e68a6cad3b192062743d25b8daa082205 (patch)
tree140877fefa091bdf7935e3b4731c0af1c6cd16c9 /ale_linters/erlang/elvis.vim
parentff26ed72312838acbc801cc5e410faa5bab181e1 (diff)
downloadale-76c2293e68a6cad3b192062743d25b8daa082205.zip
Add sub_type to Elvis output (#3976)
Elvis is Erlang style reviewer, thus all loclist objects should have sub_type set to style.
Diffstat (limited to 'ale_linters/erlang/elvis.vim')
-rw-r--r--ale_linters/erlang/elvis.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/erlang/elvis.vim b/ale_linters/erlang/elvis.vim
index 31dea3dd..0fb85c07 100644
--- a/ale_linters/erlang/elvis.vim
+++ b/ale_linters/erlang/elvis.vim
@@ -12,6 +12,7 @@ function! ale_linters#erlang#elvis#Handle(buffer, lines) abort
\ 'lnum': str2nr(l:match[1]),
\ 'text': s:AbbreviateMessage(l:match[2]),
\ 'type': 'W',
+ \ 'sub_type': 'style',
\})
endfor