Skip to content

Commit

Permalink
feat: add conceal, update indents for upstream syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed May 13, 2023
1 parent 06bbf2e commit 2504852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 3 additions & 0 deletions queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@

[ "<" ">" ] @punctuation.bracket

(("\"" @conceal)
(#set! conceal ""))

; Comments

(comment) @comment @spell
Expand Down
12 changes: 3 additions & 9 deletions queries/indents.scm
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,15 @@
(map)
(imap)
(array)
] @indent
] @indent.begin

[
"]"
"}"
">"
] @indent_end

[ "{" "}" ] @branch

[ "[" "]" ] @branch

[ "<" ">" ] @branch
] @indent.end @indent.branch

[
(ERROR)
(comment)
] @auto
] @indent.auto

0 comments on commit 2504852

Please sign in to comment.