Skip to content

feat: customizable command via LAUNCH_EDITOR env - #49

Merged
haoqunjiang merged 2 commits into
masterfrom
unknown repository
Aug 20, 2022
Merged

haoqunjiang merged 2 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Aug 14, 2022

Copy link
Copy Markdown

slightly different implementation than #39

The code changes are minimal, basically the LAUNCH_EDITOR value is used as first guess, bypassing scanning the process list.

In addition, it preserves getArgumentsForPosition support, so that users can use it to either force a specific supported editor via LAUNCH_EDITOR=codium or go full custom via LAUNCH_EDITOR=custom-script.sh

@ghost

ghost commented Aug 14, 2022

Copy link
Copy Markdown
Author

Please see the discussion in #39 too

@haoqunjiang haoqunjiang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good!

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.

1 participant