Skip to content

Commit 11a11fd

Browse files
committed
docs: regenerate
1 parent 682247b commit 11a11fd

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

runtime/doc/lsp.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,6 +1630,25 @@ save({lenses}, {bufnr}, {client_id}) *vim.lsp.codelens.save()*
16301630
==============================================================================
16311631
Lua module: vim.lsp.handlers *lsp-handlers*
16321632

1633+
*vim.lsp.handlers.hover()*
1634+
hover({_}, {method}, {result}, {_}, {_}, {config})
1635+
Parameters: ~
1636+
{config} table Configuration table.
1637+
• border: (default=nil)
1638+
• Add borders to the floating window
1639+
• See |vim.api.nvim_open_win()|
1640+
1641+
See also: ~
1642+
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_references@seehttps://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol@seehttps://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_symbol@seehttps://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rename@seehttps://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_rangeFormatting@seehttps://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting@seehttps://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_completion|lsp-handler| for the method "textDocument/hover">
1643+
1644+
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(
1645+
vim.lsp.handlers.hover, {
1646+
-- Use a sharp border with `FloatBorder` highlights
1647+
border = "single"
1648+
}
1649+
)
1650+
<
1651+
16331652
*vim.lsp.handlers.progress_handler()*
16341653
progress_handler({_}, {_}, {params}, {client_id})
16351654
See also: ~

0 commit comments

Comments
 (0)