generated from ellisonleao/nvim-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Did you check the docs?
- I have read all the docs
Is your feature request related to a problem? Please describe.
I like to run my opencode in a sandbox with opencode serve. Maybe on http://127.0.0.1:4069, maybe elsewhere. I notice the plugin tries to be smart about running servers, but right now to make this work I need to do:
- Start opencode with
opencode serve --portbecause without--portthe plugin won't detect the process - Add a configuration block for
require("opencode.terminal").start|toggleon with("opencode attach http://127.0.0.1:4096")instea of("opencode --port")
And I guess it won't work with opencode instances on other hosts at all.
Why not just provide and endpoint via the config, and when its empty, try to start a own server (or not; i can start my own)? No smart process finding, etc.
Describe the solution you'd like
Provide and endpoint via the config, and when its empty, try to start a own server (or not; i can start my own)? No smart process finding, etc.
Describe alternatives you've considered
Not much
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request