Skip to content

Commit

Permalink
Merge pull request #3467 from fwy/bugfix-checkstyleRegexpNvimWin32
Browse files Browse the repository at this point in the history
Fix checkstyle regexp pattern to work correctly in NVim on Windows
  • Loading branch information
hsanson committed Dec 28, 2020
2 parents f996ede + 0a2ad51 commit 7fca451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ale_linters/java/checkstyle.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 7fca451

Please sign in to comment.