mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -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
|
(comment) @comment
|
||||||
|
|
||||||
(formal_parameters (identifier) @parameter)
|
|
||||||
|
|
||||||
(identifier) @variable
|
(identifier) @variable
|
||||||
|
|
||||||
|
(formal_parameters (identifier) @parameter)
|
||||||
|
|
||||||
; Operators
|
; Operators
|
||||||
[
|
[
|
||||||
"="
|
"="
|
||||||
|
|
@ -48,10 +48,12 @@
|
||||||
"&"
|
"&"
|
||||||
":"
|
":"
|
||||||
"~"
|
"~"
|
||||||
"|>"
|
|
||||||
] @operator)
|
] @operator)
|
||||||
|
|
||||||
(special) @operator
|
[
|
||||||
|
"|>"
|
||||||
|
(special)
|
||||||
|
] @operator
|
||||||
|
|
||||||
[
|
[
|
||||||
"("
|
"("
|
||||||
|
|
@ -117,5 +119,7 @@
|
||||||
(namespace_get_internal namespace: (identifier) @namespace
|
(namespace_get_internal namespace: (identifier) @namespace
|
||||||
":::" @operator)
|
":::" @operator)
|
||||||
|
|
||||||
|
(string (escape_sequence) @string.escape)
|
||||||
|
|
||||||
; Error
|
; Error
|
||||||
(ERROR) @error
|
(ERROR) @error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue