mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(commonlisp): correctly highlight quotes (#6565)
This commit is contained in:
parent
b47dde81a0
commit
3b5704440f
1 changed files with 8 additions and 13 deletions
|
|
@ -105,24 +105,19 @@
|
|||
(#lua-match? @variable.builtin "^[*].+[*]$"))
|
||||
|
||||
; quote
|
||||
"'" @string.escape
|
||||
|
||||
(format_specifier) @string.escape
|
||||
|
||||
(quoting_lit) @string.escape
|
||||
(quoting_lit
|
||||
"'" @string.escape)
|
||||
|
||||
; syntax quote
|
||||
"`" @string.escape
|
||||
(syn_quoting_lit
|
||||
"`" @string.escape)
|
||||
|
||||
"," @string.escape
|
||||
(unquoting_lit
|
||||
"," @string.escape)
|
||||
|
||||
",@" @string.escape
|
||||
|
||||
(syn_quoting_lit) @string.escape
|
||||
|
||||
(unquoting_lit) @none
|
||||
|
||||
(unquote_splicing_lit) @none
|
||||
(unquote_splicing_lit
|
||||
",@" @string.escape)
|
||||
|
||||
[
|
||||
"("
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue