Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid neovimPath #4529

Closed
danielo515 opened this issue Jan 31, 2020 · 2 comments
Closed

Invalid neovimPath #4529

danielo515 opened this issue Jan 31, 2020 · 2 comments

Comments

@danielo515
Copy link

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%
@danielo515
Copy link
Author

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.

@vegerot
Copy link
Contributor

vegerot commented Mar 27, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants