diff options
author | w0rp <devw0rp@gmail.com> | 2017-01-22 14:54:57 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-01-22 14:54:57 +0000 |
commit | d7ed49f84964aebdaa180b553e83943cd85c5d20 (patch) | |
tree | fc71c3fb869ca67864a32d4513cb27f25ce50f69 /autoload | |
parent | e4a4fcd26bff47b3611887167a0510a5e29cbe3b (diff) | |
download | ale-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.vim | 4 |
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 |