Vscode-neovim: Neovim: configure the path to neovim and restart the editor

Created on 29 Feb 2020  路  6Comments  路  Source: asvetliakov/vscode-neovim

I am using on MAC NVIM v0.4.3 and I have added Neovim in my path as:

export PATH="/usr/local/bin/nvim:$PATH"

When loading VSCode with vscode-neovim installed I always get the following error and I cannot use your extension:

Neovim: configure the path to neovim and restart the editor

How to fix this issue?

question

Most helpful comment

@lacostenycoder @iwyg

the setting id is vscode-neovim.neovimPath not vim.neovimPath which is for vscodevim

All 6 comments

You need to configure neovim path in vscode settings, the extension doesn't look into path env variable for now

I'm having the same issue. In terminal:

which nvim
/usr/local/bin/nvim

And I have this my settings.json

"vim.neovimPath": "/usr/local/bin/nvim",

so what am I doing wrong?

Same here:

Neovim: configure the path to neovim and restart the editor

{
    "vim": {
      "enableNeovim": true,
      "neovimPath": "/usr/local/Cellar/neovim/0.4.3/bin/nvim",
      "disableAnnoyingNeovimMessage": true,
    }
}
> ls -l /usr/local/Cellar/neovim/0.4.3/bin/nvim
> -r-xr-xr-x  1 malcolm  staff  3061692 xx Xxx xx:xx /usr/local/Cellar/neovim/0.4.3/bin/nvim

@lacostenycoder @iwyg

the setting id is vscode-neovim.neovimPath not vim.neovimPath which is for vscodevim

ah, makes sense. Thanks!

can the path vscode-neovim.neovimPath please be added to the docs? had to search to find this info.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asvetliakov picture asvetliakov  路  5Comments

anhyeast picture anhyeast  路  5Comments

bogdan0083 picture bogdan0083  路  4Comments

ppwwyyxx picture ppwwyyxx  路  4Comments

kkorus picture kkorus  路  4Comments