Skip to content

Expose chat display hook for workspace integrations #254

Description

@cothinking-dev

I use ECA with Doom workspaces / persp-mode. ECA chat buffers are non-file buffers, so Doom does not treat them as real buffers by default and they are not automatically registered in the current perspective/workspace.

My current workaround is to advise the private function eca-chat--display-buffer so I can mark the chat buffer as real and add it to the active perspective when it is displayed.

It would be useful to have a public hook around chat display, for example an eca-chat-after-display-buffer-hook/function list called with the chat buffer and window. This would let workspace integrations register the chat buffer without depending on a private ECA function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions