fix: typo in scm files inside runtime/queries/ (#8630)
This commit is contained in:
parent
e332c7d875
commit
23fd145a56
2 changed files with 4 additions and 4 deletions
|
@ -39,11 +39,11 @@
|
||||||
(identifier) @variable.parameter))
|
(identifier) @variable.parameter))
|
||||||
|
|
||||||
; (p?: t)
|
; (p?: t)
|
||||||
; (p?: t = 1) // Invalid but still posible to hihglight.
|
; (p?: t = 1) // Invalid but still possible to highlight.
|
||||||
(optional_parameter
|
(optional_parameter
|
||||||
(identifier) @variable.parameter)
|
(identifier) @variable.parameter)
|
||||||
|
|
||||||
; (...p?: t) // Invalid but still posible to hihglight.
|
; (...p?: t) // Invalid but still possible to highlight.
|
||||||
(optional_parameter
|
(optional_parameter
|
||||||
(rest_pattern
|
(rest_pattern
|
||||||
(identifier) @variable.parameter))
|
(identifier) @variable.parameter))
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
(pair_pattern
|
(pair_pattern
|
||||||
value: (identifier) @variable.parameter)))
|
value: (identifier) @variable.parameter)))
|
||||||
|
|
||||||
; ([ p ]?: t[]) // Invalid but still posible to hihglight.
|
; ([ p ]?: t[]) // Invalid but still possible to highlight.
|
||||||
(optional_parameter
|
(optional_parameter
|
||||||
(array_pattern
|
(array_pattern
|
||||||
(identifier) @variable.parameter))
|
(identifier) @variable.parameter))
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
(list
|
(list
|
||||||
(symbol) @tag)
|
(symbol) @tag)
|
||||||
|
|
||||||
; Other stuff that has not been catched by the previous queries yet
|
; Other stuff that has not been caught by the previous queries yet
|
||||||
|
|
||||||
(ident) @variable
|
(ident) @variable
|
||||||
(index) @variable
|
(index) @variable
|
||||||
|
|
Loading…
Reference in a new issue