mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
feat(lsp): support completion context #32793
Problem: vim.lsp.completion with "autotrigger" enabled, does not send completion context, even though it has all the necessary info. Solution: Include the context for "autotrigger". trigger() also optionally accepts context when manually invoked.
This commit is contained in:

committed by
GitHub

parent
67c39f5eca
commit
3b0fe2659e
@@ -476,9 +476,7 @@ function protocol.make_client_capabilities()
|
||||
'data',
|
||||
},
|
||||
},
|
||||
|
||||
-- TODO(tjdevries): Implement this
|
||||
contextSupport = false,
|
||||
contextSupport = true,
|
||||
},
|
||||
declaration = {
|
||||
linkSupport = true,
|
||||
|
Reference in New Issue
Block a user