#1428 Show multiline hover messages, and document the new command

This commit is contained in:
w0rp
2018-04-24 21:03:06 +01:00
parent 93a046a78f
commit ebbf7d0353
5 changed files with 48 additions and 12 deletions

View File

@@ -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*