mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-08 13:05:16 +08:00
Fix the regex of phpmd
This commit is contained in:
1 parent
47577564a2
commit
5b986ce5d3
2 files changed
+25
-1
No files matched your search
@@ -14,7 +14,7 @@ function! ale_linters#php#phpmd#Handle(buffer, lines) abort
|
||||
" Matches against lines like the following:
|
||||
"
|
||||
" /path/to/some-filename.php:18 message
|
||||
let l:pattern = '^.*:\(\d\+\)\t\(.\+\)$'
|
||||
let l:pattern = '^.*:\(\d\+\)\s\+\(.\+\)$'
|
||||
let l:output = []
|
||||
|
||||
for l:match in ale#util#GetMatches(a:lines, l:pattern)
|
||||
|
||||
Reference in new issue
Block a user