mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -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 "^[*].+[*]$"))
|
(#lua-match? @variable.builtin "^[*].+[*]$"))
|
||||||
|
|
||||||
; quote
|
; quote
|
||||||
"'" @string.escape
|
|
||||||
|
|
||||||
(format_specifier) @string.escape
|
(format_specifier) @string.escape
|
||||||
|
|
||||||
(quoting_lit) @string.escape
|
(quoting_lit
|
||||||
|
"'" @string.escape)
|
||||||
|
|
||||||
; syntax quote
|
(syn_quoting_lit
|
||||||
"`" @string.escape
|
"`" @string.escape)
|
||||||
|
|
||||||
"," @string.escape
|
(unquoting_lit
|
||||||
|
"," @string.escape)
|
||||||
|
|
||||||
",@" @string.escape
|
(unquote_splicing_lit
|
||||||
|
",@" @string.escape)
|
||||||
(syn_quoting_lit) @string.escape
|
|
||||||
|
|
||||||
(unquoting_lit) @none
|
|
||||||
|
|
||||||
(unquote_splicing_lit) @none
|
|
||||||
|
|
||||||
[
|
[
|
||||||
"("
|
"("
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue