aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2021-12-08 11:01:07 -0700
committerGitHub <noreply@github.com>2021-12-08 11:01:07 -0700
commitc096561041840826245a82699dfb49064d326c52 (patch)
treee28e90f50e6580dd8cd11056a3ca8680c734fe98 /runtime/doc
parente5f691baef289d08d30ded77dee638c2db65acc6 (diff)
downloadrneovim-c096561041840826245a82699dfb49064d326c52.tar.gz
rneovim-c096561041840826245a82699dfb49064d326c52.tar.bz2
rneovim-c096561041840826245a82699dfb49064d326c52.zip
docs(lsp): fix resolve_capabilities docstring (#16577)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 9bd304cbb4..11f9d62e69 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1909,14 +1909,14 @@ make_client_capabilities()
*vim.lsp.protocol.resolve_capabilities()*
resolve_capabilities({server_capabilities})
- `*` to match one or more characters in a path segment `?` to
- match on one character in a path segment `**` to match any
- number of path segments, including none `{}` to group
- conditions (e.g. `**​/*.{ts,js}` matches all TypeScript and
- JavaScript files) `[]` to declare a range of characters to
- match in a path segment (e.g., `example.[0-9]` to match on
- `example.0` , `example.1` , …) `[!...]` to negate a range of
- characters to match in a path segment (e.g., `example.[!0-9]`
- to match on `example.a` , `example.b` , but not `example.0` )
+ Creates a normalized object describing LSP server
+ capabilities.
+
+ Parameters: ~
+ {server_capabilities} table Table of capabilities
+ supported by the server
+
+ Return: ~
+ table Normalized table of capabilities
vim:tw=78:ts=8:ft=help:norl: