diff options
author | w0rp <w0rp@users.noreply.github.com> | 2019-05-08 09:50:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-08 09:50:12 +0100 |
commit | a223253f35be35b31a6103805a9ed197cd13cdb5 (patch) | |
tree | 2c626e10337bc317c63d149af8eca07983c0317a /ale_linters | |
parent | d390abd721352d583c20f999129ad23f67decbb4 (diff) | |
parent | c7292ce892fbf3b6f35c44e1cd44d138160da981 (diff) | |
download | ale-a223253f35be35b31a6103805a9ed197cd13cdb5.zip |
Merge pull request #2134 from oaue/master
javac linter: fix handling of error messages containing ':' character
Diffstat (limited to 'ale_linters')
-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 7ca95ba5..3883783b 100644 --- a/ale_linters/java/javac.vim +++ b/ale_linters/java/javac.vim @@ -99,7 +99,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 = [] |