summaryrefslogtreecommitdiff
path: root/autoload/ale/list.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-05-28 19:19:20 +0100
committerw0rp <devw0rp@gmail.com>2018-05-28 19:19:20 +0100
commitf2837b5802c14e0fcdddf1af7caab0fb96858589 (patch)
tree0c603e450064f74f7998ec07bbc473b949bc13c9 /autoload/ale/list.vim
parentcae194d1bda3ed867aaaf8d611f7de67a3f8c225 (diff)
downloadale-f2837b5802c14e0fcdddf1af7caab0fb96858589.zip
#1524 - Define global variables where they are needed
Diffstat (limited to 'autoload/ale/list.vim')
-rw-r--r--autoload/ale/list.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/autoload/ale/list.vim b/autoload/ale/list.vim
index 30b8f5cf..35304a09 100644
--- a/autoload/ale/list.vim
+++ b/autoload/ale/list.vim
@@ -1,6 +1,19 @@
" Author: Bjorn Neergaard <bjorn@neersighted.com>, modified by Yann fery <yann@fery.me>
" Description: Manages the loclist and quickfix lists
+" This flag dictates if ale open the configured loclist
+let g:ale_open_list = get(g:, 'ale_open_list', 0)
+" This flag dictates if ale keeps open loclist even if there is no error in loclist
+let g:ale_keep_list_window_open = get(g:, 'ale_keep_list_window_open', 0)
+" This flag dictates that quickfix windows should be opened vertically
+let g:ale_list_vertical = get(g:, 'ale_list_vertical', 0)
+" The window size to set for the quickfix and loclist windows
+let g:ale_list_window_size = get(g:, 'ale_list_window_size', 10)
+" A string format for the loclist messages.
+let g:ale_loclist_msg_format = get(g:, 'ale_loclist_msg_format',
+\ get(g:, 'ale_echo_msg_format', '%code: %%s')
+\)
+
if !exists('s:timer_args')
let s:timer_args = {}
endif