From da09f9b551badfb3fd363589009168560ae607f6 Mon Sep 17 00:00:00 2001 From: mathew Date: Fri, 28 Jul 2023 15:24:18 +0800 Subject: feat(gen_lsp.lua): protocol.Methods #24504 --- runtime/doc/lsp.txt | 6 ++++++ runtime/doc/news.txt | 2 ++ 2 files changed, 8 insertions(+) (limited to 'runtime/doc') 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* -- cgit