# Add JSDoc scope \(\#29476\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3da1de2a48156fe1d7fc536e82f8913f12e40ddf

Requested commit: 3da1de2a48156fe1d7fc536e82f8913f12e40ddf

Commit: 3da1de2a48156fe1d7fc536e82f8913f12e40ddf

Tree: 35d24ff3d057829916ce4b537e2165d2bf3e7e65

Author: chbk

Committer: GitHub

## Message

```
Add JSDoc scope (#29476)

This is a small PR that adds a `.jsdoc` scope to JSDoc tokens, just like
[JSX](https://github.com/zed-industries/zed/blob/3fdbc3090d2cc5c2e24014009cccbe5e7c55d217/crates/languages/src/javascript/highlights.scm#L239)
has a specific scope.
This effectively allows differentiating between JavaScript keywords and
JSDoc tags in comments.

Release Notes:

  - Add scope for JSDoc
```

## Parents

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

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