mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
Move meta punctuation
This commit is contained in:
parent
0cf75fd96d
commit
b8b0da006b
1 changed files with 8 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
["'" "`"] @string.escape
|
||||
|
||||
["~" "~@" "#" "^"] @punctuation.special
|
||||
["~" "~@" "#"] @punctuation.special
|
||||
|
||||
["{" "}" "[" "]" "(" ")"] @punctuation.bracket
|
||||
|
||||
|
|
@ -236,3 +236,10 @@
|
|||
"vector" "vector-of" "vector?" "volatile!" "volatile?"
|
||||
"vreset!" "with-bindings*" "with-meta" "with-redefs-fn" "xml-seq"
|
||||
"zero?" "zipmap"))
|
||||
|
||||
; Meta punctuation
|
||||
;; NOTE: When the above `Function definitions` query captures the
|
||||
;; the @function it also captures the child meta_lit
|
||||
;; We capture the meta_lit symbol (^) after so that the later
|
||||
;; highlighting overrides the former
|
||||
"^" @punctuation.special
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue