question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Neovim was disconnected

See original GitHub issue

I can’t get this extension running since it requires nvim 0.5

I am running

[I]  jeffrey04@NOBITA-UBUNTU ~  $ nvim --version
NVIM v0.5.0-654-g3acfefb63
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/nvim/parts/nvim/build/build/config -I/build/nvim/parts/nvim/build/src -I/build/nvim/parts/nvim/build/.deps/usr/include -I/usr/include -I/build/nvim/parts/nvim/build/build/src/nvim/auto -I/build/nvim/parts/nvim/build/build/include
Compiled by root@lgw01-amd64-012

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

And this is the log

2020-10-16T04:47:46.591Z MainController: Spawning nvim, path: /snap/bin/nvim, useWsl: false, args: ["-N","--embed","-c","source /home/jeffrey04/.vscode/extensions/asvetliakov.vscode-neovim-0.0.63/vim/vscode-options.vim","--cmd","source /home/jeffrey04/.vscode/extensions/asvetliakov.vscode-neovim-0.0.63/vim/vscode-neovim.vim","-u","/home/jeffrey04/.config/nvim/init.vim"]
2020-10-16T04:47:46.597Z MainController: Attaching to neovim
2020-10-16T04:47:46.599Z MainController: Init
2020-10-16T04:47:46.599Z MainController: Attaching to neovim notifications
2020-10-16T04:47:47.019Z MainController: Neovim was disconnected
2020-10-16T04:47:47.030Z MainController: Neovim exited with code: 0

The visual studio code that I am currently using is at version 1.50.1, and I am on Ubuntu 20.10 beta (didn’t work in 20.04 either)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
asvetliakovcommented, Jan 3, 2021

Should be fixed & released now

0reactions
Jeffrey04commented, Jan 4, 2021

lol the ticket was original filed for nvim snap package

Read more comments on GitHub >

github_iconTop Results From Across the Web

MainController: Neovim exited with code: 0 · Issue #564 - GitHub
Running which nvim in the terminal outputs /snap/bin/nvim . Here's the output of :checkhealth inside nvim with nvim -u test.vim: health#nvim# ...
Read more >
neovim integration in vs code errors - Stack Overflow
Neovim works from the terminal but I don't think it does in vscode. ... config/nvim EACCES. MainController: Neovim was disconnected. neovim.
Read more >
[Rust Language Server + autozimu/LanguageClient-neovim ...
If you're sending on a disconnected channel, it means the command you spawned has exited already. I would recommend trying to start rls...
Read more >
To NeoVim, Or Not to NeoVim - RWX.GG
The very fact that the NeoVim team thought that having different defaults actually matters at all shows how disconnected that design team is...
Read more >
neovim-client
const newLines = await buf.lines; // expect(newLines).toEqual(['line1', 'line2']); nvim.quit(); nvim_proc.disconnect(); } ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found