crates/languages/src/json/highlights.scm 🔗
@@ -13,9 +13,12 @@
(false)
] @boolean
+(null) @constant.builtin
+
[
- (null)
-] @constant
+ ","
+ ":"
+] @punctuation.delimiter
[
"{"
chbk created
Release Notes:
- Improved JSON syntax highlighting.
| Zed 0.174.6 | With this PR |
| --- | --- |
|

|

|
- `null`: `constant` -> `constant.builtin`
- `,`, `:`: `punctuation.delimiter`
```json
{
"property": null,
"boolean": true
}
```
crates/languages/src/json/highlights.scm | 7 +++++--
crates/languages/src/jsonc/highlights.scm | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
@@ -13,9 +13,12 @@
(false)
] @boolean
+(null) @constant.builtin
+
[
- (null)
-] @constant
+ ","
+ ":"
+] @punctuation.delimiter
[
"{"
@@ -13,9 +13,12 @@
(false)
] @boolean
+(null) @constant.builtin
+
[
- (null)
-] @constant
+ ","
+ ":"
+] @punctuation.delimiter
[
"{"