Skip to content

Commit

Permalink
Improve JSON syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
chbk committed Feb 21, 2025
1 parent dff47a8 commit fe701a5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions crates/languages/src/json/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@
[
(true)
(false)
(null)
] @constant
] @boolean

(null) @constant.builtin

[
","
":"
] @punctuation.delimiter

[
"{"
Expand Down
10 changes: 8 additions & 2 deletions crates/languages/src/jsonc/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@
[
(true)
(false)
(null)
] @constant
] @boolean

(null) @constant.builtin

[
","
":"
] @punctuation.delimiter

[
"{"
Expand Down

0 comments on commit fe701a5

Please sign in to comment.