mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-12 08:00:14 +08:00
Fix regexp pattern to work correctly in nvim and vim on windows and linux
This commit is contained in:
1 parent
681a6e371d
commit
0a2ad516d4
1 file changed
+1
-1
@@ -9,7 +9,7 @@ function! ale_linters#java#checkstyle#Handle(buffer, lines) abort
|
|||||||
let l:output = []
|
let l:output = []
|
||||||
|
|
||||||
" modern checkstyle versions
|
" 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)
|
for l:match in ale#util#GetMatches(a:lines, l:pattern)
|
||||||
call add(l:output, {
|
call add(l:output, {
|
||||||
|
|||||||
Reference in new issue
Block a user