Skip to content

Commit 6f4bb05

Browse files
committed
fix: bat json keys
1 parent df1659b commit 6f4bb05

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

ports/bat/ClaretDark.tmTheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@
150150

151151
<dict>
152152
<key>name</key>
153-
<string>JSON Key</string>
153+
<string>JSON/YAML/TOML Keys</string>
154154
<key>scope</key>
155-
<string>support.type.property-name, meta.object-literal.key, string.json meta.structure.dictionary.key.json</string>
155+
<string>meta.mapping.key string, support.type.property-name.json, punctuation.support.type.property-name.json, support.type.property-name.toml, punctuation.support.type.property-name.toml, entity.name.tag.yaml, support.type.property-name.yaml</string>
156156
<key>settings</key>
157157
<dict>
158158
<key>foreground</key>

ports/yazi/claret-dark.yazi/tmtheme.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@
150150

151151
<dict>
152152
<key>name</key>
153-
<string>JSON Key</string>
153+
<string>JSON/YAML/TOML Keys</string>
154154
<key>scope</key>
155-
<string>support.type.property-name, meta.object-literal.key, string.json meta.structure.dictionary.key.json</string>
155+
<string>meta.mapping.key string, support.type.property-name.json, punctuation.support.type.property-name.json, support.type.property-name.toml, punctuation.support.type.property-name.toml, entity.name.tag.yaml, support.type.property-name.yaml</string>
156156
<key>settings</key>
157157
<dict>
158158
<key>foreground</key>

scripts/generate_ports.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ local bat_scopes = {
313313
{ 'Parameter', 'variable.parameter', p.text, 'italic' },
314314
{ 'Property', 'variable.other.property, variable.other.member', p.rose_2 },
315315
{
316-
'JSON Key',
317-
'support.type.property-name, meta.object-literal.key, string.json meta.structure.dictionary.key.json',
316+
'JSON/YAML/TOML Keys',
317+
'meta.mapping.key string, support.type.property-name.json, punctuation.support.type.property-name.json, support.type.property-name.toml, punctuation.support.type.property-name.toml, entity.name.tag.yaml, support.type.property-name.yaml',
318318
p.rose_2,
319319
},
320320
{ 'Operator', 'keyword.operator', p.text_3 },

0 commit comments

Comments
 (0)