mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-28 20:42:26 +08:00
Add old check for bufline api
This commit is contained in:
@@ -5,7 +5,7 @@ call ale#Set('fix_on_save_ignore', {})
|
||||
function! ale#fix#ApplyQueuedFixes(buffer) abort
|
||||
let l:data = get(g:ale_fix_buffer_data, a:buffer, {'done': 0})
|
||||
|
||||
if !l:data.done
|
||||
if !l:data.done || (!ale#util#HasBuflineApi() && a:buffer isnot bufnr(''))
|
||||
return
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user