Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a785c80

Browse files
committed
Move description of float window behavior to function doc section
Addresses review comments #767 (comment)
1 parent 79e36ba commit a785c80

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

doc/LanguageClient.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,6 @@ accessed by regular quickfix/location list operations.
6363
To use the language server with Vim's formatting operator |gq|, set 'formatexpr': >
6464
set formatexpr=LanguageClient#textDocument_rangeFormatting_sync()
6565
<
66-
If you're using Neovim 0.4.0 or later, |LanguageClient#textDocument_hover()|
67-
opens documentation in a floating window. The window is automatically closed
68-
when you move the cursor. Or calling |LanguageClient#textDocument_hover()|
69-
again just after opening the floating window moves the cursor into the window.
70-
It is useful when documentation is longer and you need to scroll down or you
71-
want to yank some text in the documentation.
72-
7366
==============================================================================
7467
2. Configuration *LanguageClientConfiguration*
7568

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

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

409+
If you're using Neovim 0.4.0 or later, this function opens documentation in a
410+
floating window. The window is automatically closed when you move the cursor.
411+
Or calling this function again just after opening the floating window moves
412+
the cursor into the window. It is useful when documentation is longer and you
413+
need to scroll down or you want to yank some text in the documentation.
414+
416415
*LanguageClient#textDocument_definition()*
417416
*LanguageClient_textDocument_definition()*
418417
Signature: LanguageClient#textDocument_definition(...)

0 commit comments

Comments
 (0)