From 7a48750610bbed164750a3f0fbf0fd9e88fa56c5 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 10 Feb 2019 11:43:48 +0000 Subject: Complain about binary operators on the ends of lines --- ale_linters/prolog/swipl.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/prolog/swipl.vim') diff --git a/ale_linters/prolog/swipl.vim b/ale_linters/prolog/swipl.vim index 401e52b6..77261ede 100644 --- a/ale_linters/prolog/swipl.vim +++ b/ale_linters/prolog/swipl.vim @@ -87,8 +87,8 @@ endfunction " Skip sandbox error which is caused by directives " because what we want is syntactic or semantic check. function! s:Ignore(item) abort - return a:item.type is# 'E' && - \ a:item.text =~# '\vNo permission to (call|directive|assert) sandboxed' + return a:item.type is# 'E' + \ && a:item.text =~# '\vNo permission to (call|directive|assert) sandboxed' endfunction call ale#linter#Define('prolog', { -- cgit v1.2.3