aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-11-25 20:56:18 -0800
committerMathias Fußenegger <mfussenegger@users.noreply.github.com>2024-11-28 09:05:17 +0100
commit864f25d6b08ccfe17e0cf3fbc30639005c0145e0 (patch)
treef1510ea3b21664c313a1950b6514d78582fea1a3 /runtime/doc
parent5897994cb75b5b64a34017873119c87a75c42375 (diff)
downloadrneovim-864f25d6b08ccfe17e0cf3fbc30639005c0145e0.tar.gz
rneovim-864f25d6b08ccfe17e0cf3fbc30639005c0145e0.tar.bz2
rneovim-864f25d6b08ccfe17e0cf3fbc30639005c0145e0.zip
docs: more accurate typing for LSP references context
**Problem:** The `context` parameter for `references()` is just typed as a table, which is unhelpful. **Solution:** Properly type it as an `lsp.ReferenceContext`!
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 350edc068f..38e9b046cd 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1448,7 +1448,7 @@ references({context}, {opts}) *vim.lsp.buf.references()*
window.
Parameters: ~
- • {context} (`table?`) Context for the request
+ • {context} (`lsp.ReferenceContext?`) Context for the request
• {opts} (`vim.lsp.ListOpts?`) See |vim.lsp.ListOpts|.
See also: ~