diff options
| -rw-r--r-- | queries/cpon/highlights.scm | 5 | ||||
| -rw-r--r-- | queries/cpon/indents.scm | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/queries/cpon/highlights.scm b/queries/cpon/highlights.scm index f08647293..807714a0f 100644 --- a/queries/cpon/highlights.scm +++ b/queries/cpon/highlights.scm @@ -15,6 +15,8 @@ "d" @character.special (_) @string.special) +(_ key: (_) @label) + (number) @number (float) @float @@ -36,6 +38,9 @@ [ "<" ">" ] @punctuation.bracket +(("\"" @conceal) + (#set! conceal "")) + ; Comments (comment) @comment @spell diff --git a/queries/cpon/indents.scm b/queries/cpon/indents.scm index 5f52ea6a1..8ec2ff57c 100644 --- a/queries/cpon/indents.scm +++ b/queries/cpon/indents.scm @@ -9,13 +9,7 @@ "]" "}" ">" -] @indent.end - -[ "{" "}" ] @indent.branch - -[ "[" "]" ] @indent.branch - -[ "<" ">" ] @indent.branch +] @indent.end @indent.branch [ (ERROR) |
