Hi,
I'm working on a re-implementation of mattn/vim-lsp-settings and neovim/nvim-lspconfig for this plugin. But I'm not sure how to - or even possible to - send requests to the language server. Something like this:
clangd_client.request('textDocument/switchSourceHeader', params, function(err, result)
if err then
error(tostring(err))
end
if not result then
print 'Corresponding file cannot be determined'
return
end
vim.api.nvim_command('edit ' .. vim.uri_to_fname(result))
end, bufnr)
Hi, I'm working on a re-implementation of mattn/vim-lsp-settings and neovim/nvim-lspconfig for this plugin. But I'm not sure how to - or even possible to - send requests to the language server. Something like this:
or