mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
highlights(r): highlight string_escape, change parameter priority and update pipe
This commit is contained in:
parent
02460d4230
commit
07770b2daa
1 changed files with 8 additions and 4 deletions
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
(comment) @comment
|
||||
|
||||
(formal_parameters (identifier) @parameter)
|
||||
|
||||
(identifier) @variable
|
||||
|
||||
(formal_parameters (identifier) @parameter)
|
||||
|
||||
; Operators
|
||||
[
|
||||
"="
|
||||
|
|
@ -48,10 +48,12 @@
|
|||
"&"
|
||||
":"
|
||||
"~"
|
||||
"|>"
|
||||
] @operator)
|
||||
|
||||
(special) @operator
|
||||
[
|
||||
"|>"
|
||||
(special)
|
||||
] @operator
|
||||
|
||||
[
|
||||
"("
|
||||
|
|
@ -117,5 +119,7 @@
|
|||
(namespace_get_internal namespace: (identifier) @namespace
|
||||
":::" @operator)
|
||||
|
||||
(string (escape_sequence) @string.escape)
|
||||
|
||||
; Error
|
||||
(ERROR) @error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue