mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-10-26 19:24:31 +03:00
[language-json] Add a scope to JSON keys…
…so that they can be scoped differently in themes. The TM grammar already had the `meta.structure.key.json` scope, so I've added it here. Further work would need to be done if we wanted JSON keys to be highlighted differently in built-in themes.
This commit is contained in:
parent
4e52093cfc
commit
1e54a680ca
@ -1,6 +1,9 @@
|
||||
; STRINGS
|
||||
; =======
|
||||
|
||||
(pair
|
||||
key: (string) @meta.structure.key.json)
|
||||
|
||||
(string
|
||||
"\"" @punctuation.definition.string.begin.json
|
||||
(#set! test.onlyIfFirst true))
|
||||
|
Loading…
Reference in New Issue
Block a user