diff options
author | fwy <fwy@emailcom> | 2020-11-26 15:29:23 -0600 |
---|---|---|
committer | fwy <fwy@emailcom> | 2020-11-26 15:29:23 -0600 |
commit | 0a2ad516d4c04a408f6bb0ee26640bf6cd531651 (patch) | |
tree | 406fcea7258826052a7b9eaff7b4c42762d136c1 | |
parent | 681a6e371d02cce9c2414c19f5deeae61aa321fa (diff) | |
download | ale-0a2ad516d4c04a408f6bb0ee26640bf6cd531651.zip |
Fix regexp pattern to work correctly in nvim and vim on windows and linux
-rw-r--r-- | ale_linters/java/checkstyle.vim | 2 |
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, { |