Skip to content

Bug: Chat doesn't render when auto_insert_mode is set true until mode is switched to normal #1564

@abhr-0

Description

@abhr-0

There seems to be a bit of rendering issue when the chat buffer is opened in insert mode using the auto_insert_mode option.

From what I can tell, currently rendering is triggered on the events TextChanged and InsertLeave only, and so the render doesn't happen until leaving insert mode.

I may be missing something or may have misconfigured something, can anyone else reproduce this behavior?

Adding InsertEnter to the autocmd when auto_insert_mode is enabled seems to fix the issue locally, and I'd be happy to open a PR if this approach is acceptable.

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