mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
highlights(swift): highlight "->" as @operator
This commit is contained in:
parent
a3c86fe843
commit
8025b90329
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
[ "." ";" ":" "," "->" ] @punctuation.delimiter
|
[ "." ";" ":" "," ] @punctuation.delimiter
|
||||||
[ "\\(" "(" ")" "[" "]" "{" "}"] @punctuation.bracket ; TODO: "\\(" ")" in interpolations should be @punctuation.special
|
[ "\\(" "(" ")" "[" "]" "{" "}"] @punctuation.bracket ; TODO: "\\(" ")" in interpolations should be @punctuation.special
|
||||||
|
|
||||||
; Identifiers
|
; Identifiers
|
||||||
|
|
@ -130,4 +130,5 @@
|
||||||
"!="
|
"!="
|
||||||
"!=="
|
"!=="
|
||||||
"==="
|
"==="
|
||||||
|
"->"
|
||||||
] @operator
|
] @operator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue