mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(swift): fix for_statement variable declaration
Incorporates a fix from upstream, caught due to the emacs tree-sitter plugin using an older version of tree-sitter that does stricter validation.
This commit is contained in:
parent
223883fd69
commit
98d5fe400c
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@
|
|||
; Statements
|
||||
(for_statement ["for" @repeat])
|
||||
(for_statement ["in" @repeat])
|
||||
(for_statement item: (simple_identifier) @variable)
|
||||
(for_statement (pattern) @variable)
|
||||
(else) @keyword
|
||||
(as_operator) @keyword
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue