aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authormathew <glepnir@neovim.pro>2023-07-28 15:24:18 +0800
committerJustin M. Keyes <justinkz@gmail.com>2023-08-01 16:05:06 +0200
commitda09f9b551badfb3fd363589009168560ae607f6 (patch)
tree0e0091bf874bc9ad8524d3642a925d07556e65ed /runtime/doc
parente55e80d51ca5d85770981bffb9254badc3662e0c (diff)
downloadrneovim-da09f9b551badfb3fd363589009168560ae607f6.tar.gz
rneovim-da09f9b551badfb3fd363589009168560ae607f6.tar.bz2
rneovim-da09f9b551badfb3fd363589009168560ae607f6.zip
feat(gen_lsp.lua): protocol.Methods #24504
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt6
-rw-r--r--runtime/doc/news.txt2
2 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 3d7e1ed582..f85150adb6 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -2189,6 +2189,12 @@ make_client_capabilities()
Return: ~
lsp.ClientCapabilities
+Methods *vim.lsp.protocol.Methods*
+ LSP method names.
+
+ See also: ~
+ • https://microsoft.github.io/language-server-protocol/specifications/specification-current/#metaModel
+
*vim.lsp.protocol.resolve_capabilities()*
resolve_capabilities({server_capabilities})
Creates a normalized object describing LSP server capabilities.
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index e40fdda3f8..f9ee9e02a1 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -176,6 +176,8 @@ The following changes to existing APIs or features add new behavior.
supports it, unless |'keywordprg'| was customized before calling
|vim.lsp.start()|.
+• |vim.lsp.protocol.Methods| all the lsp methods constants.
+
==============================================================================
REMOVED FEATURES *news-removed*