Add regex syntax highlighting for JS and TS (#7851)

<img width="544" alt="SCR-20240215-pvzy"
src="https://github.com/zed-industries/zed/assets/67913738/e4d463a6-1795-4728-ac24-6c8e03e7ea5b">

Release Notes:

- Added support for regex syntax highlighting in `JS` and `TS`.
This commit is contained in:
Robin Pfäffle 2024-03-18 16:49:01 +01:00 committed by GitHub
parent 9f96c43ff7
commit ad97c357a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 85 additions and 0 deletions

11
Cargo.lock generated
View file

@ -5328,6 +5328,7 @@ dependencies = [
"tree-sitter-purescript",
"tree-sitter-python",
"tree-sitter-racket",
"tree-sitter-regex",
"tree-sitter-ruby",
"tree-sitter-rust",
"tree-sitter-scheme",
@ -10665,6 +10666,16 @@ dependencies = [
"tree-sitter",
]
[[package]]
name = "tree-sitter-regex"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "efb5a53e9c990757895476216796b170fd81e4d173d08f8b082279c4e6ff8c5c"
dependencies = [
"cc",
"tree-sitter",
]
[[package]]
name = "tree-sitter-ruby"
version = "0.20.0"