Skip to content

Commit

Permalink
fix(commonlisp): correctly highlight quotes (#6565)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesrld committed Jun 10, 2024
1 parent b47dde8 commit 3b57044
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions queries/commonlisp/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -105,24 +105,19 @@
(#lua-match? @variable.builtin "^[*].+[*]$"))

; quote
"'" @string.escape

(format_specifier) @string.escape

(quoting_lit) @string.escape

; syntax quote
"`" @string.escape

"," @string.escape

",@" @string.escape
(quoting_lit
"'" @string.escape)

(syn_quoting_lit) @string.escape
(syn_quoting_lit
"`" @string.escape)

(unquoting_lit) @none
(unquoting_lit
"," @string.escape)

(unquote_splicing_lit) @none
(unquote_splicing_lit
",@" @string.escape)

[
"("
Expand Down

0 comments on commit 3b57044

Please sign in to comment.