Add JSDoc syntax highlighting support (#7826)

![SCR-20240215-mokn](https://github.com/zed-industries/zed/assets/67913738/17750eb5-bf48-4e23-adc5-0f7a5e15a41b)

Closes #4926

Release Notes:

- Added support for [JSDoc](https://jsdoc.app) syntax highlighting
([#7224](https://github.com/zed-industries/zed/issues/7224)).
This commit is contained in:
Robin Pfäffle 2024-03-15 22:17:06 +01:00 committed by GitHub
parent 24e7cfb0d5
commit eecbafb94e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,2 @@
("[" @open "]" @close)
("{" @open "}" @close)

View file

@ -0,0 +1,7 @@
name = "JSDoc"
grammar = "jsdoc"
autoclose_before = "]}"
brackets = [
{ start = "{", end = "}", close = true, newline = false },
{ start = "[", end = "]", close = true, newline = false },
]

View file

@ -0,0 +1,2 @@
(tag_name) @keyword
(type) @type