Open lanza opened 2 years ago
It should be possible. But I am not familiar with coc.nvim
.
Judging by the link you sent me, coc
has the interface to initiate ccls/someCommand
. But in the example its wrapped inside CocLocations
. I need an interface to call it directly with the handler used inside this plugin. And then convert the resulting json
into lua tables and pass it on to other functions in the plugin.
Will have a look when I have some more time. Looking at coc lsp codebase I should be able leverage something with CocAyncRequest
This seems to be where vim-ccls handles the same issue. Does that make sense?
coc.nvim is a popular alternative to the packaged LSP for neovim. It offers a standard API to query the language server as you'd expect. ccls's own documentation explains how one would setup coc.nvim for ccls itself.