3
43
Fork
You've already forked opencode.el
16

add server auto-detection and custom serve command options #3

Manually merged
sczi merged 0 commits from avph/opencode.el:server-auto-detect into main 2026年01月23日 01:15:01 +01:00
Contributor
Copy link
  • add opencode-command variable for base executable path
  • add opencode-serve-command for custom server start commands (e.g. nix)
  • add opencode-auto-start-server toggle
  • auto-detect running server before starting a new one
  • normalize directory with file-name-as-directory in opencode-open-project
- add opencode-command variable for base executable path - add opencode-serve-command for custom server start commands (e.g. nix) - add opencode-auto-start-server toggle - auto-detect running server before starting a new one - normalize directory with file-name-as-directory in opencode-open-project
- add opencode-command variable for base executable path
- add opencode-serve-command for custom server start commands (e.g. nix)
- add opencode-auto-start-server toggle
- auto-detect running server before starting a new one
- normalize directory with file-name-as-directory in opencode-open-project
Owner
Copy link

Looks good thanks, I merged with a couple minor edits:

  • add dir locals to get rid of warning of overlong docstring (splitting
    command on multiple lines would be less clear)
  • ignore-errors instead of condition-case
  • remove redundant directory-file-name then file-name-as-directory
Looks good thanks, I merged with a couple minor edits: - add dir locals to get rid of warning of overlong docstring (splitting command on multiple lines would be less clear) - ignore-errors instead of condition-case - remove redundant directory-file-name then file-name-as-directory
sczi closed this pull request 2026年01月15日 01:25:50 +01:00
sczi reopened this pull request 2026年01月23日 01:15:00 +01:00
sczi manually merged commit ce73236009 into main 2026年01月23日 01:15:01 +01:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sczi/opencode.el!3
Reference in a new issue
sczi/opencode.el
No description provided.
Delete branch "avph/opencode.el:server-auto-detect"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?