From 25acefeb5b0cf0977ad01fe3128d494d9617a2cf Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Wed, 22 Mar 2023 16:02:51 +0800 Subject: Fix typos (#115) Found via `codespell -S target -L crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant` --- src/ide/complete.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ide') diff --git a/src/ide/complete.rs b/src/ide/complete.rs index 886c1245..4dacc2b2 100644 --- a/src/ide/complete.rs +++ b/src/ide/complete.rs @@ -195,7 +195,7 @@ fn markup_completions(ctx: &mut CompletionContext) { ctx.snippet_completion( "label", "<${name}>", - "Makes the preceding element referencable.", + "Makes the preceding element referenceable.", ); ctx.snippet_completion( @@ -517,7 +517,7 @@ fn show_rule_selector_completions(ctx: &mut CompletionContext) { ctx.snippet_completion( "text selector", "\"${text}\": ${}", - "Replace occurances of specific text.", + "Replace occurrences of specific text.", ); ctx.snippet_completion( @@ -794,19 +794,19 @@ fn code_completions(ctx: &mut CompletionContext, hashtag: bool) { ctx.snippet_completion( "while loop", "while ${1 < 2} {\n\t${}\n}", - "Computes or inserts somthing while a condition is met.", + "Computes or inserts something while a condition is met.", ); ctx.snippet_completion( "for loop", "for ${value} in ${(1, 2, 3)} {\n\t${}\n}", - "Computes or inserts somthing for each value in a collection.", + "Computes or inserts something for each value in a collection.", ); ctx.snippet_completion( "for loop (with key)", "for ${key}, ${value} in ${(a: 1, b: 2)} {\n\t${}\n}", - "Computes or inserts somthing for each key and value in a collection.", + "Computes or inserts something for each key and value in a collection.", ); ctx.snippet_completion( -- cgit v1.2.3