summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-09-14 12:42:26 +0100
committerw0rp <devw0rp@gmail.com>2018-09-14 12:42:26 +0100
commit43d7e8fde9aedb5dc3d76014a64de04fbdbaa276 (patch)
tree12dd72e6fe9c128ec33d3176120e781b3f326c51 /plugin/ale.vim
parentf380d8508e2e8c80bb1d1ed6f934b953f1c37bc2 (diff)
downloadale-43d7e8fde9aedb5dc3d76014a64de04fbdbaa276.zip
#1889 Add support for automatically previewing messages based on the cursor position
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index ffb5da8a..36edb48c 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -109,6 +109,13 @@ let g:ale_set_highlights = get(g:, 'ale_set_highlights', has('syntax'))
" This flag can be set to 0 to disable echoing when the cursor moves.
let g:ale_echo_cursor = get(g:, 'ale_echo_cursor', 1)
+" This flag can be set to 1 to automatically show errors in the preview window.
+let g:ale_cursor_detail = get(g:, 'ale_cursor_detail', 0)
+
+" This flag can be set to 1 to automatically close the preview window upon
+" entering Insert Mode.
+let g:ale_close_preview_on_insert = get(g:, 'ale_close_preview_on_insert', 0)
+
" This flag can be set to 0 to disable balloon support.
let g:ale_set_balloons = get(g:, 'ale_set_balloons', has('balloon_eval') && has('gui_running'))