diff options
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lsp.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index e820d54a9e..3bc2256064 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1397,7 +1397,11 @@ format({opts}) *vim.lsp.buf.format()* hover() *vim.lsp.buf.hover()* Displays hover information about the symbol under the cursor in a floating - window. Calling the function twice will jump into the floating window. + window. The window will be dismissed on cursor move. Calling the function + twice will jump into the floating window (thus by default, "KK" will open + the hover window and focus it). In the floating window, all commands and + mappings are available as usual, except that "q" dismisses the window. You + can scroll the contents the same as you would any other buffer. implementation({opts}) *vim.lsp.buf.implementation()* Lists all the implementations for the symbol under the cursor in the |