From ca17b5aebdd9bb2e31d01ae16e18047bae375c3c Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 16 Feb 2017 21:33:44 +0000 Subject: Add an option for completely disabling command history, and add documentation --- plugin/ale.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin/ale.vim') 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! -- cgit v1.2.3