mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-26 14:01:10 +08:00
Fix #876 - Save history in a separate buffer variable so history works when linting is disabled
This commit is contained in:
@@ -112,11 +112,7 @@ endfunction
|
||||
function! s:EchoCommandHistory() abort
|
||||
let l:buffer = bufnr('%')
|
||||
|
||||
if !has_key(g:ale_buffer_info, l:buffer)
|
||||
return
|
||||
endif
|
||||
|
||||
for l:item in g:ale_buffer_info[l:buffer].history
|
||||
for l:item in ale#history#Get(l:buffer)
|
||||
if l:item.job_id is# 'executable'
|
||||
call s:EchoExecutable(l:item)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user