diff options
Diffstat (limited to 'ale_linters/perl/perl.vim')
-rw-r--r-- | ale_linters/perl/perl.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/perl/perl.vim b/ale_linters/perl/perl.vim index d1dcbc9c..03de77a5 100644 --- a/ale_linters/perl/perl.vim +++ b/ale_linters/perl/perl.vim @@ -19,6 +19,7 @@ function! ale_linters#perl#perl#Handle(buffer, lines) abort let l:basename = expand('#' . a:buffer . ':t') let l:type = 'E' + if a:lines[-1] =~# 'syntax OK' let l:type = 'W' endif |