add json key highlighting patch for twodark

This commit is contained in:
Josh Toft 2023-01-01 10:39:22 -08:00
parent b6b9d3a629
commit e79e1a23eb
1 changed files with 20 additions and 0 deletions

20
assets/patches/TwoDark.tmTheme.patch vendored Normal file
View File

@ -0,0 +1,20 @@
diff --git themes/TwoDark/TwoDark.tmTheme themes/TwoDark/TwoDark.tmTheme
index 87fd358..56376d3 100644
--- themes/TwoDark/TwoDark.tmTheme
+++ themes/TwoDark/TwoDark.tmTheme
@@ -533,7 +533,7 @@
<key>name</key>
<string>Json key</string>
<key>scope</key>
- <string>source.json meta.structure.dictionary.json string.quoted.double.json</string>
+ <string>source.json meta.mapping.key.json string.quoted.double.json</string>
<key>settings</key>
<dict>
<key>foreground</key>
@@ -875,4 +875,4 @@
<key>comment</key>
<string>Work in progress</string>
</dict>
-</plist>
\ No newline at end of file
+</plist>