aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2023-08-07 06:35:06 -0700
committerGitHub <noreply@github.com>2023-08-07 06:35:06 -0700
commit832459219b4cbf3151e48b43187f1ab0c94ea285 (patch)
tree4a1b1e68d5f594f39f1db54373e72aa1dba71cda /runtime/lua/vim/lsp/buf.lua
parent369f58797dbd3c0e18035d26e6f5d6634be7a2a9 (diff)
downloadrneovim-832459219b4cbf3151e48b43187f1ab0c94ea285.tar.gz
rneovim-832459219b4cbf3151e48b43187f1ab0c94ea285.tar.bz2
rneovim-832459219b4cbf3151e48b43187f1ab0c94ea285.zip
docs(lsp): fix references to protocol.constants #24578
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
-rw-r--r--runtime/lua/vim/lsp/buf.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp/buf.lua b/runtime/lua/vim/lsp/buf.lua
index 3b1654d11f..6cd0aa1e95 100644
--- a/runtime/lua/vim/lsp/buf.lua
+++ b/runtime/lua/vim/lsp/buf.lua
@@ -112,7 +112,7 @@ end
--- about the context in which a completion was triggered (how it was triggered,
--- and by which trigger character, if applicable)
---
----@see vim.lsp.protocol.constants.CompletionTriggerKind
+---@see vim.lsp.protocol.CompletionTriggerKind
function M.completion(context)
local params = util.make_position_params()
params.context = context
@@ -728,7 +728,7 @@ end
--- using mark-like indexing. See |api-indexing|
---
---@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction
----@see vim.lsp.protocol.constants.CodeActionTriggerKind
+---@see vim.lsp.protocol.CodeActionTriggerKind
function M.code_action(options)
validate({ options = { options, 't', true } })
options = options or {}