mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-09 05:54:45 +08:00
Documented g:ale_hover_to_preview
This commit is contained in:
17
doc/ale.txt
17
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
|
over hover information for balloons. If a line contains a problem, that
|
||||||
problem will be displayed in a balloon instead of hover information.
|
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
|
For Vim 8.1+ terminals, mouse hovering is disabled by default. Enabling
|
||||||
|balloonexpr| commands in terminals can cause scrolling issues in terminals,
|
|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
|
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.
|
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*
|
g:ale_keep_list_window_open *g:ale_keep_list_window_open*
|
||||||
*b:ale_keep_list_window_open*
|
*b:ale_keep_list_window_open*
|
||||||
Type: |Number|
|
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.
|
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|
|
Type: |String|
|
||||||
Default: `'%severity%:%linter%: %s'`
|
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.
|
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|
|
Type: |String|
|
||||||
Default: `'error'`
|
Default: `'error'`
|
||||||
|
|||||||
Reference in New Issue
Block a user