Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/terminal: support zed editor and allow args in DELVE_EDITOR (#3899)
Enhance editor support for the DELVE_EDITOR environment variable 1. Add support for the Zed editor by recognizing the 'zed' command and setting the appropriate line number syntax 2. Allow users to specify editor-specific arguments in DELVE_EDITOR by parsing the env var value into command and args parts 3. Modify runEditor() to pass through any user-specified args before appending the file/line args This change allows more configuration flexibility through DELVE_EDITOR while maintaining backwards compatibility. The Zed editor is now supported alongside VSCode, Helix and Vim variants. Fixes #3627
- Loading branch information