Did you check the docs?
Is your feature request related to a problem? Please describe.
NOTE:
I am not certain whether this is feasible under the current implementation and architecture of the plugin
It would be awesome if the LSP that is provided in this plugin within the snacks prompts would be available when a prompt is opened in an editor from OpenCode itself. I.e. when I have a longer prompt and would like to type it up in NeoVim, I use the OpenCode feature that opens the input in the editor. Would it be possible to hook into this process (as the plugin now hooks into the permissions request of OpenCode) to start the in-process LSP in the markdown file buffers that are created by OpenCode?
Describe the solution you'd like
The proposed workflow:
I launch the edit input in $EDITOR feature -> a new buffer is created in the NeoVim editor (for example file:///private/var/folders/yv/24zcyrzn0tsdg78xckk5mx0c0000gp/T/1776583186091.md) -> the buffer creation from the OpenCode buffer is detected (using an AutoCmd? How is this done for the permissions?) and the LSP with the session context is attached to the buffer so that I can @ + <TAB> to get the current files and the agents etc.
Describe alternatives you've considered
I considered writing the autocommand myself using the API of this plugin but I believe that this feature may be useful for all users.
Additional context
No response
Did you check the docs?
Is your feature request related to a problem? Please describe.
It would be awesome if the LSP that is provided in this plugin within the snacks prompts would be available when a prompt is opened in an editor from OpenCode itself. I.e. when I have a longer prompt and would like to type it up in NeoVim, I use the OpenCode feature that opens the input in the editor. Would it be possible to hook into this process (as the plugin now hooks into the permissions request of OpenCode) to start the in-process LSP in the markdown file buffers that are created by OpenCode?
Describe the solution you'd like
The proposed workflow:
I launch the edit input in
$EDITORfeature -> a new buffer is created in the NeoVim editor (for examplefile:///private/var/folders/yv/24zcyrzn0tsdg78xckk5mx0c0000gp/T/1776583186091.md) -> the buffer creation from the OpenCode buffer is detected (using an AutoCmd? How is this done for the permissions?) and the LSP with the session context is attached to the buffer so that I can@+<TAB>to get the current files and the agents etc.Describe alternatives you've considered
I considered writing the autocommand myself using the API of this plugin but I believe that this feature may be useful for all users.
Additional context
No response