summaryrefslogtreecommitdiff
path: root/ale_linters/erlang/erlc.vim
diff options
context:
space:
mode:
authorAntoine Reilles <areilles+github@gmail.com>2017-11-03 19:56:34 +0100
committerw0rp <w0rp@users.noreply.github.com>2017-11-03 18:56:34 +0000
commit54f44c2d0f61211c5d2643a9f8b9edbc4c6c5e5e (patch)
treeb321a98721e8beeed9a4b080fe243ccaddda64d7 /ale_linters/erlang/erlc.vim
parent1752ad9ad1cd1263dffaae57b69425f1705b989f (diff)
downloadale-54f44c2d0f61211c5d2643a9f8b9edbc4c6c5e5e.zip
windows compatible warning match pattern for erlc (#1071)
* windows compatible warning match pattern for erlc
Diffstat (limited to 'ale_linters/erlang/erlc.vim')
-rw-r--r--ale_linters/erlang/erlc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/erlang/erlc.vim b/ale_linters/erlang/erlc.vim
index 559dc679..bddb175d 100644
--- a/ale_linters/erlang/erlc.vim
+++ b/ale_linters/erlang/erlc.vim
@@ -17,7 +17,7 @@ function! ale_linters#erlang#erlc#Handle(buffer, lines) abort
" error.erl:4: variable 'B' is unbound
" error.erl:3: Warning: function main/0 is unused
" error.erl:4: Warning: variable 'A' is unused
- let l:pattern = '\v^([^:]+):(\d+): (Warning: )?(.+)$'
+ let l:pattern = '\v^([a-zA-Z]?:?[^:]+):(\d+): (Warning: )?(.+)$'
" parse_transforms are a special case. The error message does not indicate a location:
" error.erl: undefined parse transform 'some_parse_transform'