aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusheel Thapa2023-12-15 06:58:27 +0000
committerGitHub2023-12-15 06:58:27 +0000
commit23fd145a56260293072622c4d64482fc6447af7c (patch)
treeaef2620fe15fdf0c8e1b173d7f4401a24259c0d7
parente332c7d87545daea9d37fabda5f4a705e7a2dd80 (diff)
fix: typo in scm files inside runtime/queries/ (#8630)
-rw-r--r--runtime/queries/_typescript/highlights.scm6
-rw-r--r--runtime/queries/yuck/highlights.scm2
2 files changed, 4 insertions, 4 deletions
diff --git a/runtime/queries/_typescript/highlights.scm b/runtime/queries/_typescript/highlights.scm
index f9a67266..45c98ba8 100644
--- a/runtime/queries/_typescript/highlights.scm
+++ b/runtime/queries/_typescript/highlights.scm
@@ -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))
diff --git a/runtime/queries/yuck/highlights.scm b/runtime/queries/yuck/highlights.scm
index 9f116f15..70de4cbe 100644
--- a/runtime/queries/yuck/highlights.scm
+++ b/runtime/queries/yuck/highlights.scm
@@ -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