Skip to content

Allow disabling filetype for treesitter highlighting #171

@NicoElbers

Description

@NicoElbers

I personally don't use the Zig treesitter parser because for me it causes unreasonable delays. However, blink will try to create a parser when showing documentation, creating a very annoying error.

Therefore I'd personally like for it to be possible to disable certain treesitter filetypes, falling back on regex parsing instead.

I am not super familiar with Lua development, but I think maybe a pcall on the get_parser function may also allow catching the error (and then fall back on regex parsing).

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