summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-01-01 18:25:04 +0000
committerw0rp <devw0rp@gmail.com>2020-01-01 18:25:04 +0000
commit8148a67b377050c7d60e5fd0aa46e0b4781edd6e (patch)
tree6c414ec75285b34c4a365d105f2618d8ec72afd0
parent25e457595a9bbf55956d5cff604824471bd8fff8 (diff)
downloadale-8148a67b377050c7d60e5fd0aa46e0b4781edd6e.zip
Documented g:ale_hover_to_preview
-rw-r--r--doc/ale.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 847a9777..e58b01bf 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -525,6 +525,9 @@ the mouse over a symbol in a buffer. Diagnostic information will take priority
over hover information for balloons. If a line contains a problem, that
problem will be displayed in a balloon instead of hover information.
+Hover information can be displayed in the preview window instead by setting
+|g:ale_hover_to_preview| to `1`.
+
For Vim 8.1+ terminals, mouse hovering is disabled by default. Enabling
|balloonexpr| commands in terminals can cause scrolling issues in terminals,
so ALE will not attempt to show balloons unless |g:ale_set_balloons| is set to
@@ -1023,6 +1026,16 @@ g:ale_history_log_output *g:ale_history_log_output*
if you want to save on some memory usage.
+g:ale_hover_to_preview *g:ale_hover_to_preview*
+ *b:ale_hover_to_preview*
+
+ Type: |Number|
+ Default: `0`
+
+ If set to `1`, hover messages will be displayed in the preview window,
+ instead of in balloons or the message line.
+
+
g:ale_keep_list_window_open *g:ale_keep_list_window_open*
*b:ale_keep_list_window_open*
Type: |Number|
@@ -1337,7 +1350,7 @@ b:ale_loclist_msg_format *b:ale_loclist_msg_format*
The strings for configuring `%severity%` are also used for this option.
-g:ale_lsp_show_message_format *g:ale_lsp_show_message_format*
+g:ale_lsp_show_message_format *g:ale_lsp_show_message_format*
Type: |String|
Default: `'%severity%:%linter%: %s'`
@@ -1359,7 +1372,7 @@ g:ale_lsp_show_message_format *g:ale_lsp_show_message_
separately for each buffer like |g:ale_echo_msg_format| can.
-g:ale_lsp_show_message_severity *g:ale_lsp_show_message_severity*
+g:ale_lsp_show_message_severity *g:ale_lsp_show_message_severity*
Type: |String|
Default: `'error'`