summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-24 21:03:06 +0100
committerw0rp <devw0rp@gmail.com>2018-04-24 21:03:06 +0100
commitebbf7d0353d9d5d3ecc42bddd50e270ba60e5243 (patch)
tree6e31f73ca717103a0e99943b90358b6574665049 /doc/ale.txt
parent93a046a78f0ab20af54812f28784d555fda2d38d (diff)
downloadale-ebbf7d0353d9d5d3ecc42bddd50e270ba60e5243.zip
#1428 Show multiline hover messages, and document the new command
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index d5e6958b..45d7ba1a 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -654,6 +654,15 @@ supported:
|ALEFindReferences| - Find references for the word under the cursor.
+-------------------------------------------------------------------------------
+5.4 Hovering *ale-hover*
+
+ALE supports "hover" information for printing brief information about symbols
+at the cursor taken from LSP linters. The following commands are supported:
+
+|ALEHover| - Print information about the symbol at the cursor.
+
+
===============================================================================
6. Global Options *ale-options*
@@ -1806,6 +1815,19 @@ ALEGoToDefinitionInTab *ALEGoToDefinitionInTab*
A plug mapping `<Plug>(ale_go_to_definition_in_tab)` is defined for this
command.
+
+ALEHover *ALEHover*
+
+ Print brief information about the symbol under the cursor, taken from any
+ available LSP linters. There may be a small non-blocking delay before
+ information is printed.
+
+ NOTE: In Vim 8, long messages will be shown in a preview window, as Vim 8
+ does not support showing a prompt to press enter to continue for long
+ messages from asynchronous callbacks.
+
+ A plug mapping `<Plug>(ale_hover)` is defined for this command.
+
*:ALELint*
ALELint *ALELint*