mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 03:21:27 +08:00
Improve file blacklisting to make Unite.vim not fuck up.
This commit is contained in:
1 parent
cb410927d1
commit
614a30a508
4 files changed
+31
-14
No files matched your search
@@ -73,6 +73,11 @@ let s:cursor_timer = -1
|
||||
let s:last_pos = [0, 0, 0]
|
||||
|
||||
function! ale#cursor#EchoCursorWarningWithDelay() abort
|
||||
" Do nothing for blacklisted files.
|
||||
if index(g:ale_filetype_blacklist, &filetype) >= 0
|
||||
return
|
||||
endif
|
||||
|
||||
if s:cursor_timer != -1
|
||||
call timer_stop(s:cursor_timer)
|
||||
let s:cursor_timer = -1
|
||||
|
||||
Reference in new issue
Block a user