summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorLuan Santos <cfcluan@gmail.com>2018-11-06 22:31:35 -0800
committerLuan Santos <cfcluan@gmail.com>2018-11-06 22:31:35 -0800
commitf58a5cba0583231f77bd5e7cd5ab7a246fb00cd1 (patch)
tree0b8d655d3cf9075e63a421f5ac7db0012185d150 /plugin
parent25068de91d1ff61cba02da4ad19f45d35c634eb9 (diff)
downloadale-f58a5cba0583231f77bd5e7cd5ab7a246fb00cd1.zip
Move virtualtext handling to own file
This allows cursor and virtualtext to be independently autoloaded.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index f1735b42..7231d1bd 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -109,12 +109,12 @@ 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 enable virtual text when the cursor moves.
-let g:ale_virtualtext_cursor = get(g:, 'ale_virtualtext_cursor', 0)
-
" 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 enable virtual text when the cursor moves.
+let g:ale_virtualtext_cursor = get(g:, 'ale_virtualtext_cursor', 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)