summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-01-22 14:54:57 +0000
committerw0rp <devw0rp@gmail.com>2017-01-22 14:54:57 +0000
commitd7ed49f84964aebdaa180b553e83943cd85c5d20 (patch)
treefc71c3fb869ca67864a32d4513cb27f25ce50f69 /autoload
parente4a4fcd26bff47b3611887167a0510a5e29cbe3b (diff)
downloadale-d7ed49f84964aebdaa180b553e83943cd85c5d20.zip
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/list.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/list.vim b/autoload/ale/list.vim
index 480880e4..a086b10c 100644
--- a/autoload/ale/list.vim
+++ b/autoload/ale/list.vim
@@ -4,11 +4,11 @@
" Return 1 if there is a buffer with buftype == 'quickfix' in bufffer list
function! ale#list#IsQuickfixOpen() abort
for l:buf in range(1, bufnr('$'))
- if getbufvar(l:buf, '&buftype') ==# 'quickfix'
+ if getbufvar(l:buf, '&buftype') ==# 'quickfix'
return 1
endif
endfor
- return 0
+ return 0
endfunction
function! ale#list#SetLists(loclist) abort