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.

Add system specific vscode-neovim.neovimPath settings entries

See original GitHub issue

I use VSCode ‘Settings Sync’ extension and I have a personal laptop with Linux and a work laptop with Windows. I use vscode-neovim on both.

Lately I uploaded my settings to Settings Sync from the Linux laptop with the vscode-neovim.neovimPath set to /usr/bin/nvim. Then I moved to my Windows work laptop - my neovim path was C:\tools\nvim\bin\nvim.exe and vscode-neovim was working ok. But then I downloaded the fresh settings and the neovimPath on Windows changed to the Linux one - /usr/bin/nvim and vscode-neovim stopped working.

Perhaps it would be cool to split the neovimPath into three separate settings: neovimPath.windows, neovimPath.linux, neovimPath.osx,

VSCode already uses the convention I proposed with their terminal.external.[linux/windows/osx]Exec setting obraz

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kwonojcommented, Jan 6, 2020

for immediate workaround, you can use settings sync pragma : https://github.com/shanalikhan/code-settings-sync/wiki/Sync-Pragmas#per-os

0reactions
sethiddencommented, Feb 22, 2020

@genesy Nope, I didn’t try it. I switched to a Windows only setup recently so it’s not so annoying to me. I’m working on the PR now though cause it’s laying around collecting dust.

The VS Code team is supposedly working on a built-in settings sync extensions and I wonder how they’re gonna solve this of “different setting value on different system”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode Neovim - Visual Studio Marketplace
Set the Neovim path in the extension settings. You must specify full path to Neovim, like " C:\Neovim\bin\nvim.exe" or " /usr/local/bin/nvim ".
Read more >
Why I chose vscode-neovim over VSCodeVim | In the Middle
Overall, I think vscode-neovim allows for an smoother adaptation from Vim to VSCode. It matches actual Vim behavior and has better performance.
Read more >
VSCode with embedded Neovim - YouTube
Link to blog:https://www.chrisatmachine.com/blog/category/ neovim /22- ... Link to my Neovim config : https://github.com/ChristianChiarulli.
Read more >
[2022] How to use NeoVim with VScode | by KASATA - Medium
5) Set Neovim to be loaded in the VSCode configuration file. Add the following code to the VSCode settings. json code.
Read more >
Introducing NeoCode - VS Code in Neovim out of the box!
The script is cross-platform, and simply makes a system link from the config to your Neovim config directory. This means that you can...
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