zed/extensions/html
Marshall Bowers 97dc1d193f
Use @tag.doctype for HTML doctype highlights (#18024)
This PR updates the following extensions to use the `@tag.doctype`
selector for highlighting HTML doctypes:

- Astro
- Elixir (HEEx)
- HTML

Additionally, it also changes the base selector for HTML tags from
`@keyword` to `@tag`.

| Before | After |
|
-------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------
|
| <img width="308" alt="Screenshot 2024-09-18 at 2 04 41 PM"
src="https://github.com/user-attachments/assets/818d98ba-fce7-4683-b67f-61c86543831c">
| <img width="358" alt="Screenshot 2024-09-18 at 2 05 00 PM"
src="https://github.com/user-attachments/assets/5071db7c-e0bf-44df-8959-38275833833b">
|

Extracted this from https://github.com/zed-industries/zed/pull/16723.

Release Notes:

- N/A

---------

Co-authored-by: 狐狸 <134658521+Huliiiiii@users.noreply.github.com>
2024-09-18 14:24:09 -04:00
..
languages/html Use @tag.doctype for HTML doctype highlights (#18024) 2024-09-18 14:24:09 -04:00
src chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
Cargo.toml extensions: Upgrade zed_extension_api to v0.1.0 (#16955) 2024-08-27 12:00:43 -04:00
extension.toml assistant: Add annotations to more languages (#15866) 2024-08-07 13:47:21 +02:00
LICENSE-APACHE Extract HTML support into an extension (#10130) 2024-04-03 12:42:36 -04:00