Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Tag and string punctuation is not targetable in the tree-sitter grammar #224

Closed
@Aerijo

Description

@Aerijo

Prerequisites

Description

With the Tree-sitter grammar, there is no scope on the <, </, > and " characters. This means the user / theme cannot target them for custom colours.

Steps to Reproduce

  1. Inspect the scope of one of these characters; it is just text.html.basic source.html
  2. Disable Tree-sitter and refresh the grammar
  3. Inspect the scopes; each can now be targeted independently.

Expected behavior: [What you expect to happen]

Tree-sitter allows equal customisation

Actual behavior: [What actually happens]

No target

Reproduces how often: [What percentage of the time does it reproduce?]

100%

Versions

language-html 0.51.5

Additional Information

See the discuss post for at least one motivation.

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