Completion behavior with nvim-cmp
(Neovim 0.6.1)
#230
-
Hi! I'm opening this discussion following the issue hrsh7th/nvim-cmp#615 . Multiple users of ansiblels.mp4Here is an example of how we want it to work (below is with output.mp4As explained by So, is this behavior intended by |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Thanks for the question! I don't know for sure so I'm inviting @yaegassy (the author of https://github.com/yaegassy/coc-ansible) to take a look. |
Beta Was this translation helpful? Give feedback.
-
I don't know because I am not using ansible-language-server with nvim-lspconfig. By the way, there is no problem with coc-ansible. coc-ansible-check.mp4Edit
|
Beta Was this translation helpful? Give feedback.
-
Sorry @hrsh7th for the ping! Can you look into this discussion and clarify how you think
|
Beta Was this translation helpful? Give feedback.
-
OK. I figure out the reason. I don't think this is valid for the spec, but VSCode/coc.nvim seems to support it, so I'll consider fixing it. |
Beta Was this translation helpful? Give feedback.
-
Thanks everyone for participating! Closing since it is fixed. |
Beta Was this translation helpful? Give feedback.
OK. I figure out the reason.
The ansiblels returns
{ newText: "", range: ... }
as first response and return{ newText: "containers.podman.podman_container:", range: ... }
as second response forcompletionItem/resolve
.I don't think this is valid for the spec, but VSCode/coc.nvim seems to support it, so I'll consider fixing it.