mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
feat(lsp): support completion itemDefaults
This commit is contained in:

committed by
Christian Clason

parent
3d96e3f9f2
commit
63f9c2da9a
@@ -551,6 +551,10 @@ end
|
||||
--- Can be used to extract the completion items from a
|
||||
--- `textDocument/completion` request, which may return one of
|
||||
--- `CompletionItem[]`, `CompletionList` or null.
|
||||
---
|
||||
--- Note that this method doesn't apply `itemDefaults` to `CompletionList`s, and hence the returned
|
||||
--- results might be incorrect.
|
||||
---
|
||||
---@deprecated
|
||||
---@param result table The result of a `textDocument/completion` request
|
||||
---@return lsp.CompletionItem[] List of completion items
|
||||
|
Reference in New Issue
Block a user