summaryrefslogtreecommitdiff
path: root/ale_linters/perl
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/perl')
-rw-r--r--ale_linters/perl/perl.vim2
-rw-r--r--ale_linters/perl/perlcritic.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/perl/perl.vim b/ale_linters/perl/perl.vim
index 087d03eb..33288061 100644
--- a/ale_linters/perl/perl.vim
+++ b/ale_linters/perl/perl.vim
@@ -34,7 +34,7 @@ function! ale_linters#perl#perl#Handle(buffer, lines) abort
if ale#path#IsBufferPath(a:buffer, l:match[2])
\ && (
- \ l:text !=# 'BEGIN failed--compilation aborted'
+ \ l:text isnot# 'BEGIN failed--compilation aborted'
\ || empty(l:output)
\ || match(l:output[-1].text, s:begin_failed_skip_pattern) < 0
\ )
diff --git a/ale_linters/perl/perlcritic.vim b/ale_linters/perl/perlcritic.vim
index 6f23048d..df2f8b23 100644
--- a/ale_linters/perl/perlcritic.vim
+++ b/ale_linters/perl/perlcritic.vim
@@ -41,10 +41,10 @@ function! ale_linters#perl#perlcritic#GetCommand(buffer) abort
let l:command = ale#Escape(ale_linters#perl#perlcritic#GetExecutable(a:buffer))
\ . " --verbose '". l:critic_verbosity . "' --nocolor"
- if l:profile !=? ''
+ if l:profile isnot? ''
let l:command .= ' --profile ' . ale#Escape(l:profile)
endif
- if l:options !=? ''
+ if l:options isnot? ''
let l:command .= ' ' . l:options
endif