summaryrefslogtreecommitdiff
path: root/ale_linters/elixir/dogma.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/elixir/dogma.vim')
-rw-r--r--ale_linters/elixir/dogma.vim8
1 files changed, 1 insertions, 7 deletions
diff --git a/ale_linters/elixir/dogma.vim b/ale_linters/elixir/dogma.vim
index 0e4c684d..e3b24711 100644
--- a/ale_linters/elixir/dogma.vim
+++ b/ale_linters/elixir/dogma.vim
@@ -7,13 +7,7 @@ function! ale_linters#elixir#dogma#Handle(buffer, lines) abort
let l:pattern = '\v:(\d+):?(\d+)?: (.): (.+)$'
let l:output = []
- for l:line in a:lines
- let l:match = matchlist(l:line, l:pattern)
-
- if len(l:match) == 0
- continue
- endif
-
+ for l:match in ale#util#GetMatches(a:lines, l:pattern)
let l:type = l:match[3]
let l:text = l:match[4]