summaryrefslogtreecommitdiff
path: root/ale_linters/perl
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-12-20 16:22:10 +0000
committerGitHub <noreply@github.com>2018-12-20 16:22:10 +0000
commit73ca1e71918a0b50b7bbcbed91857c3618ad93cc (patch)
tree6faecbbfade7d5f54a9e967636cb9fce95667d56 /ale_linters/perl
parent5345a5dd81513f68f7b45258a5ca1e0010cb1d35 (diff)
parentc19f2aa3027b86b02eebefbdd962b48754a111c5 (diff)
downloadale-73ca1e71918a0b50b7bbcbed91857c3618ad93cc.zip
Merge pull request #2150 from mvgrimes/perl-linter-data-fix
Update the perl-linter's l:pattern to catch missing errors
Diffstat (limited to 'ale_linters/perl')
-rw-r--r--ale_linters/perl/perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/perl/perl.vim b/ale_linters/perl/perl.vim
index 1cb20fa7..4b954f0d 100644
--- a/ale_linters/perl/perl.vim
+++ b/ale_linters/perl/perl.vim
@@ -18,7 +18,7 @@ function! ale_linters#perl#perl#Handle(buffer, lines) abort
return []
endif
- let l:pattern = '\(.\+\) at \(.\+\) line \(\d\+\)'
+ let l:pattern = '\(..\{-}\) at \(..\{-}\) line \(\d\+\)'
let l:output = []
let l:basename = expand('#' . a:buffer . ':t')