diff options
author | w0rp <devw0rp@gmail.com> | 2020-11-21 20:12:09 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2020-11-21 20:12:09 +0000 |
commit | a139599d3938b2f4fa5c8a97d3280b5f4f859321 (patch) | |
tree | 2a530375428d4ee05da7cceaae11885be6d2d32b /doc | |
parent | 06e7f2195ef6375be32a63f98b5e46070708a315 (diff) | |
download | ale-a139599d3938b2f4fa5c8a97d3280b5f4f859321.zip |
Close #2727 - Add a hover-only setting for balloons
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index a64f86f0..195e6f13 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1840,7 +1840,7 @@ g:ale_rename_tsserver_find_in_strings *g:ale_rename_tsserver_find_in_strings* g:ale_set_balloons *g:ale_set_balloons* *b:ale_set_balloons* - Type: |Number| + Type: |Number| or |String| Default: `has('balloon_eval') && has('gui_running')` When this option is set to `1`, balloon messages will be displayed for @@ -1851,6 +1851,13 @@ g:ale_set_balloons *g:ale_set_balloons* supporting "Hover" information, per |ale-hover|, then brief information about the symbol under the cursor will be displayed in a balloon. + This option can be set to `'hover'` to only enable balloons for hover + message, so diagnostics are never shown in balloons. You may wish to + configure use this setting only in GUI Vim like so: > + + let g:ale_set_balloons = has('gui_running') ? 'hover' : 0 +< + Balloons can be enabled for terminal versions of Vim that support balloons, but some versions of Vim will produce strange mouse behavior when balloons are enabled. To configure balloons for your terminal, you should first |