fix: typo in scm files inside runtime/queries/ (#8630)

pull/9828/head
Susheel Thapa 6 months ago committed by GitHub
parent e332c7d875
commit 23fd145a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,11 +39,11 @@
(identifier) @variable.parameter))
; (p?: t)
; (p?: t = 1) // Invalid but still posible to hihglight.
; (p?: t = 1) // Invalid but still possible to highlight.
(optional_parameter
(identifier) @variable.parameter)
; (...p?: t) // Invalid but still posible to hihglight.
; (...p?: t) // Invalid but still possible to highlight.
(optional_parameter
(rest_pattern
(identifier) @variable.parameter))
@ -59,7 +59,7 @@
(pair_pattern
value: (identifier) @variable.parameter)))
; ([ p ]?: t[]) // Invalid but still posible to hihglight.
; ([ p ]?: t[]) // Invalid but still possible to highlight.
(optional_parameter
(array_pattern
(identifier) @variable.parameter))

@ -101,7 +101,7 @@
(list
(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
(index) @variable

Loading…
Cancel
Save