Skip to content

Tinymist doesn't start if *.typ file is already open #48

@paulora2405

Description

@paulora2405

I've encountered an easily reproducible bug that occurs when a project with a .typ file is opened.

Let's say I have multiple tabs with different files, one of them is document.typ, and the LSP (tinymist) is currently running.

If I quit Zed, and them reopen, which reopens the most recent project, the LSP won't automatically start, even if the currently active tab is the document.typ file (if it isn't and I switch to it, it doesn't start either).

Only if I close the tab, and them reopen the file, that the LSP finally starts.

This is probably a missed logic on loading the project and checking opened files, my guess is that currently the LSP only starts when a *.typ file is triggered to open.

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