summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfwy <fwy@emailcom>2020-11-26 15:29:23 -0600
committerfwy <fwy@emailcom>2020-11-26 15:29:23 -0600
commit0a2ad516d4c04a408f6bb0ee26640bf6cd531651 (patch)
tree406fcea7258826052a7b9eaff7b4c42762d136c1
parent681a6e371d02cce9c2414c19f5deeae61aa321fa (diff)
downloadale-0a2ad516d4c04a408f6bb0ee26640bf6cd531651.zip
Fix regexp pattern to work correctly in nvim and vim on windows and linux
-rw-r--r--ale_linters/java/checkstyle.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/java/checkstyle.vim b/ale_linters/java/checkstyle.vim
index ec7339d1..f00734e0 100644
--- a/ale_linters/java/checkstyle.vim
+++ b/ale_linters/java/checkstyle.vim
@@ -9,7 +9,7 @@ function! ale_linters#java#checkstyle#Handle(buffer, lines) abort
let l:output = []
" modern checkstyle versions
- let l:pattern = '\v\[(WARN|ERROR)\] [a-zA-Z]?:?[^:]+:(\d+):(\d+)?:? (.*) \[(.+)\]$'
+ let l:pattern = '\v\[(WARN|ERROR)\] [a-zA-Z]?:?[^:]+:(\d+):(\d+)?:? (.*) \[(.+)\]'
for l:match in ale#util#GetMatches(a:lines, l:pattern)
call add(l:output, {