# Add syntax scopes to themes \(\#25323\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2f416aebbe74f0bbaafe9b18310ff6025fd61916)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2f416aebbe74f0bbaafe9b18310ff6025fd61916

Requested commit: 2f416aebbe74f0bbaafe9b18310ff6025fd61916

Commit: 2f416aebbe74f0bbaafe9b18310ff6025fd61916

Tree: 86b61327820250e5174c6cd9e40385a6da41973a

Author: chbk

Committer: GitHub

## Message

```
Add syntax scopes to themes (#25323)

Release Notes:

  - Added syntax scopes to themes

Supports:

- [Improve CSS syntax
highlighting](https://github.com/zed-industries/zed/pull/25326)
- [Improve Go syntax
highlighting](https://github.com/zed-industries/zed/pull/25327)
- [Improve Markdown syntax
highlighting](https://github.com/zed-industries/zed/pull/25330)

Changes:

- Adds highlighting rules for the following new scopes, using theme
colors:
    - `heading`
    - `namespace`
    - `selector`
    - `strikethrough`
    - `unit`

- Renames scopes that are no longer used in `zed/crates/languages/src`
or `zed/extensions` to their new names:
    - `punctuation.list_marker` -> `punctuation.markup`
    - `link_text` -> `link`
- `link_uri` -> `link.url`, as defined in the [gitcommit
grammar](https://github.com/zed-industries/zed/blob/dff47a843695d03160680502e6d94634e376698e/crates/languages/src/gitcommit/highlights.scm#L5)
    - `text.literal` -> `raw`
```

## Parents

- [5397ca23a17ae42ed0e5c75ae3e4d2733b94fa36](https://git.cafe/gitcafe/zed/commit/5397ca23a17ae42ed0e5c75ae3e4d2733b94fa36?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2f416aebbe74f0bbaafe9b18310ff6025fd61916?format=markdown)
