Skip to content

Treesitter breaks syntax detection #117

@Gtoasted

Description

@Gtoasted

When Treesitter is enabled, synstack() always returns an empty list, and thus functions like typst#in_math() stop working. I'm not sure if this is a fixable problem in this plugin, but maybe you could put a note in the readme, because it took me like a day to figure this out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions