docs: update autotrigger description of vim.lsp.compleiton.BufferOpts (#30796)

Currently the behavior of autotrigger is not well documented.
This commit is contained in:
glepnir
2024-10-13 18:44:05 +08:00
committed by GitHub
parent fb74fd2954
commit 2d24558c28
2 changed files with 4 additions and 3 deletions

View File

@@ -592,7 +592,7 @@ local function on_complete_done()
end
--- @class vim.lsp.completion.BufferOpts
--- @field autotrigger? boolean Whether to trigger completion automatically. Default: false
--- @field autotrigger? boolean Default: false When true, completion triggers automatically based on the server's `triggerCharacters`.
--- @field convert? fun(item: lsp.CompletionItem): table Transforms an LSP CompletionItem to |complete-items|.
---@param client_id integer