Skip to content

Commit

Permalink
add escape string highlights to json and jsonc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Huliiiiii committed Sep 20, 2024
1 parent 16d2afc commit 0d9af4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/languages/src/json/highlights.scm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(comment) @comment

(string) @string
(escape_sequence) @string.escape

(pair
key: (string) @property.json_key)
Expand Down
1 change: 1 addition & 0 deletions crates/languages/src/jsonc/highlights.scm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(comment) @comment

(string) @string
(escape_sequence) @string.escape

(pair
key: (string) @property.json_key)
Expand Down

0 comments on commit 0d9af4d

Please sign in to comment.