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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add $NVIM_APPNAME option #1186

Merged
merged 1 commit into from
May 15, 2023
Merged

feat: add $NVIM_APPNAME option #1186

merged 1 commit into from
May 15, 2023

Conversation

nullchilly
Copy link
Contributor

@nullchilly nullchilly commented Mar 24, 2023

neovim/neovim#22128

Personally I want a separate neovim config just for vscode, which can be achieved by setting $NVIM_APPNAME

image

Copy link
Collaborator

@justinmk justinmk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things like https://github.com/direnv/direnv-vscode are a generalized way to set the vscode environment.

But this PR probably probably is still needed so that the setting can be vscode-specific.

I wish vscode would just make it possible to set env vars in settings.json. (You can read them via ${env:FOO} but I don't know if you can set them?)

@nullchilly
Copy link
Contributor Author

Now that neovim 0.9 was released, can this be merged?

@trkoch
Copy link
Collaborator

trkoch commented Apr 24, 2023

Does this PR break the extension when neovim is < 0.9? If so we should at least bump the minimal required version and probably wait a while until users have had the chance to update.

Now that neovim 0.9 was released, can this be merged?

@nullchilly
Copy link
Contributor Author

Does this PR break the extension when neovim is < 0.9? If so we should at least bump the minimal required version and probably wait a while until users have had the chance to update.

No, works fine on 0.8.3

@brendonscript
Copy link

+1 would love for this to be merged @justinmk

@justinmk justinmk merged commit 5b54212 into vscode-neovim:master May 15, 2023
@nullchilly nullchilly deleted the NVIM_APPNAME branch May 16, 2023 02:45
theol0403 added a commit to theol0403/vscode-neovim that referenced this pull request Jun 27, 2023
chore(master): release 0.1.0

BEGIN_COMMIT_OVERRIDE
feat: Neovim toggle (vscode-neovim#1033)
fix: wrong VSCode selections if cursor is at start of selection vscode-neovim#1180
feat: add $NVIM_APPNAME option (vscode-neovim#1186)
feat: use k instead of i to moveEditorToAboveGroup (vscode-neovim#1119)
feat(ci): add automatic releases (and switch to semantic versioning)
END_COMMIT_OVERRIDE
theol0403 added a commit to theol0403/vscode-neovim that referenced this pull request Jun 27, 2023
BEGIN_COMMIT_OVERRIDE
feat: Neovim toggle (vscode-neovim#1033)
fix: wrong VSCode selections if cursor is at start of selection vscode-neovim#1180
feat: add $NVIM_APPNAME option (vscode-neovim#1186)
feat: use k instead of i to moveEditorToAboveGroup (vscode-neovim#1119)
feat(ci): add automatic releases (and switch to semantic versioning)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants