diff options
author | Maria José Solano <majosolano99@gmail.com> | 2025-02-17 17:52:55 -0800 |
---|---|---|
committer | Maria José Solano <majosolano99@gmail.com> | 2025-02-17 17:52:55 -0800 |
commit | ae2fd91b411df58b68eb06534e825e7cb8e1fdd7 (patch) | |
tree | b6ba2771521b87e06b07ba7d805ecd7203bd5c90 /runtime/lua/vim/lsp/protocol.lua | |
parent | a75b09019f51d740f0890d881c90e140581f13e8 (diff) | |
download | rneovim-ae2fd91b411df58b68eb06534e825e7cb8e1fdd7.tar.gz rneovim-ae2fd91b411df58b68eb06534e825e7cb8e1fdd7.tar.bz2 rneovim-ae2fd91b411df58b68eb06534e825e7cb8e1fdd7.zip |
feat(lsp): update LSP types
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 33d029420b..6895098126 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -693,6 +693,7 @@ end --- | 'workspace/didRenameFiles', --- | 'workspace/executeCommand', --- | 'workspace/symbol', +--- | 'workspace/textDocumentContent', --- | 'workspace/willCreateFiles', --- | 'workspace/willDeleteFiles', --- | 'workspace/willRenameFiles', @@ -716,6 +717,7 @@ end --- | 'workspace/inlayHint/refresh', --- | 'workspace/inlineValue/refresh', --- | 'workspace/semanticTokens/refresh', +--- | 'workspace/textDocumentContent/refresh', --- | 'workspace/workspaceFolders', --- @alias vim.lsp.protocol.Method @@ -1049,6 +1051,16 @@ protocol.Methods = { --- need to advertise support for WorkspaceSymbols via the client capability --- `workspace.symbol.resolveSupport`. workspace_symbol = 'workspace/symbol', + --- The `workspace/textDocumentContent` request is sent from the client to the + --- server to request the content of a text document. + --- @since 3.18.0 + --- @proposed + workspace_textDocumentContent = 'workspace/textDocumentContent', + --- The `workspace/textDocumentContent` request is sent from the server to the client to refresh + --- the content of a specific text document. + --- @since 3.18.0 + --- @proposed + workspace_textDocumentContent_refresh = 'workspace/textDocumentContent/refresh', --- The will create files request is sent from the client to the server before files are actually --- created as long as the creation is triggered from within the client. --- The request can return a `WorkspaceEdit` which will be applied to workspace before the |