Add an option for completely disabling command history, and add documentation

This commit is contained in:
w0rp
2017-02-16 21:33:44 +00:00
parent 3a2286a1b8
commit ca17b5aebd
4 changed files with 45 additions and 1 deletions

View File

@@ -458,7 +458,11 @@ function! s:RunJob(options) abort
\}
endif
call ale#history#Add(l:buffer, l:status, l:job_id, l:command)
if g:ale_history_enabled
call ale#history#Add(l:buffer, l:status, l:job_id, l:command)
else
let g:ale_buffer_info[l:buffer].history = []
endif
endfunction
" Determine which commands to run for a link in a command chain, or