Skip to content

Instantly share code, notes, and snippets.

@inventfossil
Last active September 29, 2021 04:31
Show Gist options
  • Save inventfossil/3c36917f117e17cdc22ea95c2d31881e to your computer and use it in GitHub Desktop.
Save inventfossil/3c36917f117e17cdc22ea95c2d31881e to your computer and use it in GitHub Desktop.
[vscode-neovim extension infinite file opening loop fix] #vscode

vscode-neovim extension for vscode : https://github.com/asvetliakov/vscode-neovim

  • Opening settings.json or keybindings.json leads to opening infinite copies

fix :

Run this -

curl -L https://gist.github.com/kidonng/1f70b2e3de50b519483f6c79dd3d82e2/raw/6b865cec34f78475dc50b208b30563d337427543/extension.js > ~/.vscode/extensions/asvetliakov.vscode-neovim-0.0.78/dist/extension.js

or manually copy the file from curl -L https://gist.github.com/kidonng/1f70b2e3de50b519483f6c79dd3d82e2/raw/6b865cec34f78475dc50b208b30563d337427543/extension.js > ~/.vscode/extensions/asvetliakov.vscode-neovim-0.0.78/dist/extension.js and replace dist/extension.js under the extension directory manually.

credits :

https://github.com/seandewar (@seandewar) for the patch

https://github.com/kidonng (@kidonng) for giving the patched file

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