mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-09 04:52:29 +08:00
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user