From 23fd145a56260293072622c4d64482fc6447af7c Mon Sep 17 00:00:00 2001 From: Susheel Thapa Date: Fri, 15 Dec 2023 12:43:27 +0545 Subject: [PATCH] fix: typo in scm files inside runtime/queries/ (#8630) --- runtime/queries/_typescript/highlights.scm | 6 +++--- runtime/queries/yuck/highlights.scm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/queries/_typescript/highlights.scm b/runtime/queries/_typescript/highlights.scm index f9a672667..45c98ba82 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 9f116f153..70de4cbe6 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