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
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
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
- Inspect the scope of one of these characters; it is just
text.html.basic source.html
- Disable Tree-sitter and refresh the grammar
- 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.