aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2023-09-21 16:56:15 +0900
committerGitHub <noreply@github.com>2023-09-21 09:56:15 +0200
commit8bd6f7c20b403e8031a94f3a158a10c90b5c3efd (patch)
tree4e4bedb0ff9f27b8f2081341fa0ebc7d4c3f2b96 /runtime/doc
parentf246cf029fb4e7a07788adfa19f91608db7bd816 (diff)
downloadrneovim-8bd6f7c20b403e8031a94f3a158a10c90b5c3efd.tar.gz
rneovim-8bd6f7c20b403e8031a94f3a158a10c90b5c3efd.tar.bz2
rneovim-8bd6f7c20b403e8031a94f3a158a10c90b5c3efd.zip
fix(lsp): clear codelens on LspDetach (#24903)
Also fix incorrect parameters in on_detach callback.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 15292cd7cf..23902f8bc3 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1430,7 +1430,7 @@ display({lenses}, {bufnr}, {client_id}) *vim.lsp.codelens.display()*
Display the lenses using virtual text
Parameters: ~
- • {lenses} (table) of lenses to display (`CodeLens[] | null`)
+ • {lenses} lsp.CodeLens[]|nil lenses to display
• {bufnr} (integer)
• {client_id} (integer)
@@ -1442,7 +1442,7 @@ get({bufnr}) *vim.lsp.codelens.get()*
buffer.
Return: ~
- (table) (`CodeLens[]`)
+ lsp.CodeLens[]
*vim.lsp.codelens.on_codelens()*
on_codelens({err}, {result}, {ctx}, {_})
@@ -1464,7 +1464,7 @@ save({lenses}, {bufnr}, {client_id}) *vim.lsp.codelens.save()*
Store lenses for a specific buffer and client
Parameters: ~
- • {lenses} (table) of lenses to store (`CodeLens[] | null`)
+ • {lenses} lsp.CodeLens[]|nil lenses to store
• {bufnr} (integer)
• {client_id} (integer)