mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +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:
@@ -79,7 +79,7 @@ endif
|
||||
let g:ale_set_loclist = get(g:, 'ale_set_loclist', 1)
|
||||
let g:ale_set_quickfix = get(g:, 'ale_set_quickfix', 0)
|
||||
|
||||
" This flag dictates if ale open the configured loclist
|
||||
" This flag dictates if ale open the configured loclist
|
||||
let g:ale_open_list = get(g:, 'ale_open_list', 0)
|
||||
|
||||
" This flag dictates if ale keeps open loclist even if there is no error in loclist
|
||||
@@ -154,10 +154,10 @@ augroup END
|
||||
|
||||
" Backwards Compatibility
|
||||
|
||||
function! ALELint(delay)
|
||||
function! ALELint(delay) abort
|
||||
call ale#Queue(a:delay)
|
||||
endfunction
|
||||
|
||||
function! ALEGetStatusLine()
|
||||
function! ALEGetStatusLine() abort
|
||||
return ale#statusline#Status()
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user