mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-12 16:10:13 +08:00
Fix #676 - Fix handling of Perl errors
This commit is contained in:
1 parent
40f6ee4c39
commit
ce2bfa88eb
4 files changed
+28
-1
No files matched your search
@@ -27,7 +27,7 @@ function! ale_linters#perl#perl#Handle(buffer, lines) abort
|
||||
let l:text = l:match[1]
|
||||
let l:type = 'E'
|
||||
|
||||
if l:match[2][-len(l:basename):] ==# l:basename
|
||||
if ale#path#IsBufferPath(a:buffer, l:match[2])
|
||||
\&& l:text !=# 'BEGIN failed--compilation aborted'
|
||||
call add(l:output, {
|
||||
\ 'lnum': l:line,
|
||||
|
||||
Reference in new issue
Block a user