Skip to content

bug: Unable to parse some of the modern syntaxes #4

Open
@bajrangCoder

Description

@bajrangCoder

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

No response

Describe the bug

The current version of Tree-sitter-scss does not fully parse certain syntaxes in SCSS, such as variable interpolation

Examples:

  1. Variable Interpolation:
color: #{$color};

These syntaxes are not parsed correctly by Tree-sitter, leading to potential parsing errors and inconsistencies in syntax highlighting.

Steps To Reproduce/Bad Parse Tree

Just try to parse the above examples

Expected Behavior/Parse Tree

It should parse those syntaxes without any errors

Repro

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions