-
Notifications
You must be signed in to change notification settings - Fork 144
Tag and string punctuation is not targetable in the tree-sitter grammar #224
Comments
Thanks @Aerijo! I might be misunderstanding so let me know 😄 I tried 1.34.0 with Tree-sitter enabled and your styles from https://discuss.atom.io/t/is-it-possible-to-colorize-the-brackets-of-html-tags-like-in-dreamweaver-and-brackets/62084 and see this: Based on your description, I was expecting the brackets to not be affected by the CSS? |
@rsese You appear to be using the TextMate grammar there (see the The easiest way I know to check is run |
Ohhh yeah you're right 👍 I have to manually select In any case, thanks for explaining 👍 |
Let me know if this needs to be a new ticket, but entities (e.g. |
@PlaidPhantom, I'd say that would require a new ticket because the fix isn't as straightforward. The underlying problem there is that <p>Lorem ipsum dolor sit amet</p> The I'd suggest you open a ticket against |
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
text.html.basic source.html
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.
The text was updated successfully, but these errors were encountered: