Complain about binary operators on the ends of lines

This commit is contained in:
w0rp
2019-02-10 11:43:48 +00:00
parent d072d2654c
commit 7a48750610
5 changed files with 26 additions and 14 deletions
+2 -2
View File
@@ -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', {