Skip to content

Commit

Permalink
Move description of float window behavior to function doc section
Browse files Browse the repository at this point in the history
Addresses review comments #767 (comment)
  • Loading branch information
rhysd committed Mar 23, 2019
1 parent 79e36ba commit a785c80
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions doc/LanguageClient.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ accessed by regular quickfix/location list operations.
To use the language server with Vim's formatting operator |gq|, set 'formatexpr': >
set formatexpr=LanguageClient#textDocument_rangeFormatting_sync()
<
If you're using Neovim 0.4.0 or later, |LanguageClient#textDocument_hover()|
opens documentation in a floating window. The window is automatically closed
when you move the cursor. Or calling |LanguageClient#textDocument_hover()|
again just after opening the floating window moves the cursor into the window.
It is useful when documentation is longer and you need to scroll down or you
want to yank some text in the documentation.

==============================================================================
2. Configuration *LanguageClientConfiguration*

Expand Down Expand Up @@ -413,6 +406,12 @@ Signature: LanguageClient#textDocument_hover(...)

Show type info (and short doc) of identifier under cursor.

If you're using Neovim 0.4.0 or later, this function opens documentation in a
floating window. The window is automatically closed when you move the cursor.
Or calling this function again just after opening the floating window moves
the cursor into the window. It is useful when documentation is longer and you
need to scroll down or you want to yank some text in the documentation.

*LanguageClient#textDocument_definition()*
*LanguageClient_textDocument_definition()*
Signature: LanguageClient#textDocument_definition(...)
Expand Down

0 comments on commit a785c80

Please sign in to comment.