How to detect the VSCode fork? #2495
Replies: 1 comment
-
|
Created a tracking issue: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to integrate my NeoVim configuration into VSCode after integrating it into Windsurf (a popular VSCode fork). I can nicely differentiate between the forks in my
keybindings.json(VSCode keyboard shortcuts) using thewhenparameter, however the same cannot be said about my lua NeoVim configuration.vim.g.vscodeequals tovscodeno matter in which fork I am. I wonder if it is possible to get the binary name of the editor (codevswindsurf).A possible work around is to exclusively launch from the terminal with some environment variable. I already have to do this to have required variables for some tokens that are used in some of my extensions (i.e. Deepl translator), but I kindly ask if there is a better way?
Beta Was this translation helpful? Give feedback.
All reactions