Skip to content

feature: support dioxus's rsx! macro better #289

@lylythechosenone

Description

@lylythechosenone

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

Parsing for rsx! is currently very broken, because it doesn't match normal Rust grammar very well.

Describe the solution you'd like

I think the easiest/best way to fix this would be to inject an extra grammar into the rsx! macro.

Describe alternatives you've considered

Perhaps some changes could be made in dioxus source, but I don't think this is super viable.

Additional context

Related to this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions