summaryrefslogtreecommitdiff
path: root/plugin/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2022-12-25 19:29:16 +0000
committerw0rp <devw0rp@gmail.com>2022-12-25 19:29:16 +0000
commit300ea232de003f5ce45549be85d5da7f84fe23b0 (patch)
tree8d0e22ab281b791d72b8942128e0fca07bf2c106 /plugin/ale.vim
parent522b5d0433ba8c29f2f154f62184e34c2e5f301f (diff)
downloadale-300ea232de003f5ce45549be85d5da7f84fe23b0.zip
Close #4397 - Add human-readable values for g:ale_virtualtext_cursor
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r--plugin/ale.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index dc7f259a..67a3dd5d 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -127,8 +127,8 @@ 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 enable virtual text when the cursor moves.
-let g:ale_virtualtext_cursor = get(g:, 'ale_virtualtext_cursor', 0)
+" This flag can be changed to disable/enable virtual text.
+let g:ale_virtualtext_cursor = get(g:, 'ale_virtualtext_cursor', 'disabled')
" This flag can be set to 1 to enable LSP hover messages at the cursor.
let g:ale_hover_cursor = get(g:, 'ale_hover_cursor', 1)