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

Capture NVIM_APPNAME on Windows during batch script installation #1622

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

Beastwick18
Copy link
Contributor

When creating the .sh script for Linux, "NVIM_APPNAME" is set as expected. This does not happen on Windows, however. I've added a new function, s:capture_windows_env_var, which adds a statement formatted like:

if NOT DEFINED some_variable (
  set "some_variable=some_value"
)

The only environment variable added to the batch script is NVIM_APPDATA

@glacambre
Copy link
Owner

Awesome, thank you for taking the time to implement this! :)

@glacambre glacambre merged commit c6e3747 into glacambre:master Jun 30, 2024
17 of 18 checks passed
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.

2 participants