highlights: conceal " in JSON

Fixes #645
This commit is contained in:
Stephan Seitz 2022-03-21 13:36:36 +01:00 committed by Christian Clason
parent 739fefa8fa
commit cd4d802175
2 changed files with 9 additions and 0 deletions

View file

@ -150,6 +150,8 @@ effect on highlighting. We will work on improving highlighting in the near futur
@attribute for e.g. Python decorators @attribute for e.g. Python decorators
``` ```
@conceal followed by `(#set! conceal "")` for captures that are not used for highlights but only for concealing.
#### Variables #### Variables
``` ```
@ -190,6 +192,10 @@ Used for xml-like tags
@tag.delimiter @tag.delimiter
``` ```
#### Conceal
@conceal followed by `(#set! conceal "")` for captures that are not used for highlights but only for concealing.
### Locals ### Locals
``` ```
@ -214,6 +220,7 @@ Used for xml-like tags
@constructor @constructor
``` ```
#### Definition Scope #### Definition Scope
You can set the scope of a definition by setting the `scope` property on the definition. You can set the scope of a definition by setting the `scope` property on the definition.

View file

@ -12,3 +12,5 @@
"]" @punctuation.bracket "]" @punctuation.bracket
"{" @punctuation.bracket "{" @punctuation.bracket
"}" @punctuation.bracket "}" @punctuation.bracket
(("\"" @conceal) (#set! conceal ""))