summaryrefslogtreecommitdiff
path: root/ale_linters/prolog
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/prolog
parentd072d2654c68d1c0bf4a1cb8c15c31e989652669 (diff)
downloadale-7a48750610bbed164750a3f0fbf0fd9e88fa56c5.zip
Complain about binary operators on the ends of lines
Diffstat (limited to 'ale_linters/prolog')
-rw-r--r--ale_linters/prolog/swipl.vim4
1 files changed, 2 insertions, 2 deletions
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', {