Vim: Invalid neovimPath

Created on 31 Jan 2020  路  2Comments  路  Source: VSCodeVim/Vim

Issue Type: Bug

Hello again 馃槃,
I just enabled neovim integration and I'm getting the following error:

Invalid neovimPath. spawn /usr/local/bin/nvim
ENOENT.

If I type that path on my console neovim just starts without problem so, what else can I do to fix it?
Regards

Extension version: 1.12.4
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:57:51.166Z)
OS version: Darwin x64 19.2.0


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|4, 3, 3|
|Memory (System)|32.00GB (0.07GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|


areneovim kinbug

Most helpful comment

This was totally mi fault.
Today I was going to edit the config file to try a different path (the provided one is a symlink) and noticed there is a space between the first quote and the actual path, so it was " /usr/local/bin/nvim". Removing that space made it work.
This is embarrassing, but hopefully will make other people check their whitespaces better.
Sorry about it.

All 2 comments

This was totally mi fault.
Today I was going to edit the config file to try a different path (the provided one is a symlink) and noticed there is a space between the first quote and the actual path, so it was " /usr/local/bin/nvim". Removing that space made it work.
This is embarrassing, but hopefully will make other people check their whitespaces better.
Sorry about it.

To be fair, typing nvim in bash or zsh does work. Would it not be just a simple "why not" feature to strip neovimPath?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

waltiam picture waltiam  路  3Comments

rajinder-yadav picture rajinder-yadav  路  3Comments

lucastheisen picture lucastheisen  路  3Comments

elithrar picture elithrar  路  3Comments

ACollectionOfAtoms picture ACollectionOfAtoms  路  3Comments