mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Add additional comment for context in Tyepscript highlights (#42564)
This adds additional comments which were left out from #42494 by accident. Namely, it describes why we have additional custom highlighting in `highlights.scm` for the Typescript grammar. Release Notes: - N/A
This commit is contained in:
parent
cb4067723b
commit
b403c199df
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,9 @@
|
|||
(type_identifier) @type
|
||||
(predefined_type) @type.builtin
|
||||
|
||||
;; Enables ts-pretty-errors
|
||||
;; The Lsp returns "snippets" of typescript, which are not valid typescript in totality,
|
||||
;; but should still be highlighted
|
||||
;; Highlights object literals by hijacking the statement_block pattern, but only if
|
||||
;; the statement block follows an object literal pattern
|
||||
((statement_block
|
||||
|
|
|
|||
Loading…
Reference in a new issue