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 /plugin | |
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 'plugin')
-rw-r--r-- | plugin/ale.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index cb90aac8..28812be6 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -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 |