summaryrefslogtreecommitdiff
path: root/ale_linters/perl6/perl6.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-02-10 11:43:48 +0000
committerw0rp <devw0rp@gmail.com>2019-02-10 11:43:48 +0000
commit7a48750610bbed164750a3f0fbf0fd9e88fa56c5 (patch)
treef8904b5d9ed2b9b02059cdf267cee46479849c74 /ale_linters/perl6/perl6.vim
parentd072d2654c68d1c0bf4a1cb8c15c31e989652669 (diff)
downloadale-7a48750610bbed164750a3f0fbf0fd9e88fa56c5.zip
Complain about binary operators on the ends of lines
Diffstat (limited to 'ale_linters/perl6/perl6.vim')
-rw-r--r--ale_linters/perl6/perl6.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/perl6/perl6.vim b/ale_linters/perl6/perl6.vim
index 59042e57..39406ac4 100644
--- a/ale_linters/perl6/perl6.vim
+++ b/ale_linters/perl6/perl6.vim
@@ -101,8 +101,8 @@ function! ale_linters#perl6#perl6#Handle(buffer, lines) abort
if type(l:json) is v:t_dict
for l:key in keys(l:json)
- if has_key(l:json[l:key], 'sorrows') &&
- \ has_key(l:json[l:key], 'worries')
+ if has_key(l:json[l:key], 'sorrows')
+ \&& has_key(l:json[l:key], 'worries')
if !empty(l:json[l:key]['sorrows'])
for l:dictionary in get(l:json[l:key], 'sorrows')
for l:item in keys(l:dictionary)