Skip to content

feat(config): support env variables in project configurations - #565

Merged
sidlatau merged 1 commit into
mainfrom
feat/project-config-env
Oct 30, 2026
Merged

sidlatau merged 1 commit into
mainfrom
feat/project-config-env

Conversation

@sidlatau

Copy link
Copy Markdown
Collaborator

Adds an optional env field to setup_project configurations, applied only to that configuration's run/debug process.

  • Job runner: merged on top of Neovim's environment, since plenary's Job replaces the whole environment when env is set.
  • Debugger runner: merged into the launch configuration's env; the Dart/Flutter debug adapters already add it to their own inherited environment.
  • Values are converted with tostring, so env = { RETRIES = 3 } works like dart_define.

Closes #562

@sidlatau
sidlatau merged commit 917a00e into main Oct 30, 2026
7 checks passed
@sidlatau
sidlatau deleted the feat/project-config-env branch October 30, 2026 12:55
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.

Support env variables in project configurations

1 participant