Describe the bug
Provide a minimal vimrc with less than 50 lines to reproduce
For neovim (haven't tried it in vim):
vim.pack.add({
"https://github.com/vim-denops/denops.vim",
"https://github.com/vim-denops/denops-helloworld.vim"
})
vim.g["denops#debug"] = 1
vim.g["denops#server#deno"] = "podman"
vim.g["denops#server#deno_args"] = {
"-v", vim.env.HOME .. ":" .. vim.env.HOME,
"--network=host",
"ghcr.io/denoland/deno",
"deno",
"run",
unpack(vim.g["denops#server#deno_args"])
}
This is an ugly hack that only works because deno run and podman run share the same subcommand, normally I am using a shell script with podman args, this is just for ease of testing.
How to reproduce the problem from Vim startup
podman pull ghcr.io/denoland/deno
nvim -u init.lua
[denops] Spawn server [0/3]
[denops] Server started: ['podman', 'run', '-v', '/home/szymon:/home/szymon', '--network=host', 'ghcr.io/denoland/deno', 'deno', 'run', '-q', '--no-lock', '-A', '--config', '/home/szymon/.lo
cal/share/nvim/site/pack/core/opt/denops.vim/denops/@denops-private/deno.jsonc', '/home/szymon/.local/share/nvim/site/pack/core/opt/denops.vim/denops/@denops-private/cli.ts', '--quiet', '--i
dentity', '--port', '0']
[denops] Server listen: 127.0.0.1:36799
[denops] Channel connected (127.0.0.1:36799)
[denops] Channel closed (127.0.0.1:36799)
[denops] DenopsClosed
Expected behavior
DenoHello available and works.
Actual behavior
It seems that denops doesn't fully start, no commands are available, DenoHello is not either. All of it does work if I run deno outside of a container.
Screenshots (if need)
Your environment
- OS:
Linux 6.17.0-23-generic #23~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 14 16:11:48 UTC 2 x86_64 x86_64 x86_64 GNU/Linux tried it also on different computers
- Deno version:
deno 2.7.14
- Neovim version:
v0.12.3-dev-78+g25b522a75d tried it also on stable
- Denops version:
commit 1df7a022d6e9cb3f6a3db43235e0f174ccd79e03 (HEAD, tag: v8.0.2)
Additional context
Describe the bug
Provide a minimal vimrc with less than 50 lines to reproduce
For neovim (haven't tried it in vim):
This is an ugly hack that only works because
deno runandpodman runshare the same subcommand, normally I am using a shell script with podman args, this is just for ease of testing.How to reproduce the problem from Vim startup
podman pull ghcr.io/denoland/denonvim -u init.luaExpected behavior
DenoHello available and works.
Actual behavior
It seems that denops doesn't fully start, no commands are available, DenoHello is not either. All of it does work if I run deno outside of a container.
Screenshots (if need)
Your environment
Linux 6.17.0-23-generic #23~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 14 16:11:48 UTC 2 x86_64 x86_64 x86_64 GNU/Linuxtried it also on different computersdeno 2.7.14v0.12.3-dev-78+g25b522a75dtried it also on stablecommit 1df7a022d6e9cb3f6a3db43235e0f174ccd79e03 (HEAD, tag: v8.0.2)Additional context