From ec00821f4358bb8ad24ca4df556b28275c29ffaa Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Fri, 14 Jul 2023 13:38:47 -0700 Subject: [PATCH] fix: fix golangci-lint regex pattern Closes #4526 --- ale_linters/go/golangci_lint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/go/golangci_lint.vim b/ale_linters/go/golangci_lint.vim index 78087b5e14..fdfa5ded19 100644 --- a/ale_linters/go/golangci_lint.vim +++ b/ale_linters/go/golangci_lint.vim @@ -24,7 +24,7 @@ function! ale_linters#go#golangci_lint#GetCommand(buffer) abort endfunction function! ale_linters#go#golangci_lint#GetMatches(lines) abort - let l:pattern = '\v^([a-zA-Z]?:?[^:]+):(\d+):?(\d+)?:?:?:?\s\*?(.+)\s+\((.+)\)$' + let l:pattern = '\v^([a-zA-Z]?:?[^:]+):(\d+):?(\d+)?:? (.+)$' return ale#util#GetMatches(a:lines, l:pattern) endfunction