I have a singular typescript file (some details omitted for privacy, should still run):
async function lambda(): Promise<{ status: number; json: Record<string, any> }> {
let body = { "hello": "world" };
let req = await fetch("https://xnacly.me", {
method: "POST",
body: JSON.stringify(body),
});
return { status: req.status, json: {} };
}
console.log(await lambda());
I enable denols with CocCommand deno.initializeWorkspace (why is this required? Can't the plugin start upon noticing the .ts or .js extension?). After invoking vim.fn.CocActionAsync('doHover') i get the [coc.nvim] hover not found log, even when hovering over the function call and the function definition.
Am i doing something wrong or is the issue on your end?
TLDR
Problem
I have a singular typescript file (some details omitted for privacy, should still run):
I enable denols with
CocCommand deno.initializeWorkspace
(why is this required? Can't the plugin start upon noticing the.ts
or.js
extension?). After invokingvim.fn.CocActionAsync('doHover')
i get the[coc.nvim] hover not found
log, even when hovering over the function call and the function definition.Am i doing something wrong or is the issue on your end?
Details:
0.0.82-9fd8578 2024-09-21 00:59:00 +0900
Linux <hostname> 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
v22.9.0
NVIM v0.9.5
CocInfo
Output:My coc and vim configuration