mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
docs(lsp): fix references to protocol.constants #24578
This commit is contained in:
committed by
GitHub
parent
369f58797d
commit
832459219b
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user