diff options
author | David LANDREAU <david.landreau@cgi.com> | 2018-12-09 18:22:50 +0100 |
---|---|---|
committer | David LANDREAU <david.landreau@cgi.com> | 2018-12-09 18:22:50 +0100 |
commit | c7292ce892fbf3b6f35c44e1cd44d138160da981 (patch) | |
tree | 78c52b69050163fb4de179e336971fc082d3736f /ale_linters/java/javac.vim | |
parent | 9226e13b31474ac17d0c25cd27aa55bff21d55c2 (diff) | |
download | ale-c7292ce892fbf3b6f35c44e1cd44d138160da981.zip |
javac linter: fix handling of error messages containing ':' character
Diffstat (limited to 'ale_linters/java/javac.vim')
-rw-r--r-- | ale_linters/java/javac.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/java/javac.vim b/ale_linters/java/javac.vim index 63dcdd94..659f7d04 100644 --- a/ale_linters/java/javac.vim +++ b/ale_linters/java/javac.vim @@ -92,7 +92,7 @@ function! ale_linters#java#javac#Handle(buffer, lines) abort " Main.java:13: warning: [deprecation] donaught() in Testclass has been deprecated " Main.java:16: error: ';' expected let l:directory = expand('#' . a:buffer . ':p:h') - let l:pattern = '\v^(.*):(\d+): (.+):(.+)$' + let l:pattern = '\v^(.*):(\d+): (.{-1,}):(.+)$' let l:col_pattern = '\v^(\s*\^)$' let l:symbol_pattern = '\v^ +symbol: *(class|method) +([^ ]+)' let l:output = [] |