summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-02-16 21:33:44 +0000
committerw0rp <devw0rp@gmail.com>2017-02-16 21:33:44 +0000
commitca17b5aebdd9bb2e31d01ae16e18047bae375c3c (patch)
tree9c71ffb6e95acca17f4eddaebe79dab87beb256e /plugin/ale.vim
parent3a2286a1b8d8b2004b0a10656192b6823a89f690 (diff)
downloadale-ca17b5aebdd9bb2e31d01ae16e18047bae375c3c.zip
Add an option for completely disabling command history, and add documentation
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index b9f28d51..321bff89 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -134,6 +134,9 @@ let g:ale_warn_about_trailing_whitespace =
" A flag for controlling the maximum size of the command history to store.
let g:ale_max_buffer_history_size = get(g:, 'ale_max_buffer_history_size', 20)
+" A flag for enabling or disabling the command history.
+let g:ale_history_enabled = get(g:, 'ale_history_enabled', 1)
+
function! s:ALEInitAuGroups() abort
augroup ALERunOnTextChangedGroup
autocmd!