summaryrefslogtreecommitdiff
path: root/src/ide
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng.ang@gmail.com>2023-03-22 16:02:51 +0800
committerGitHub <noreply@github.com>2023-03-22 09:02:51 +0100
commit25acefeb5b0cf0977ad01fe3128d494d9617a2cf (patch)
tree5f629b2aee909022be2be674a60d10fe59bc77c3 /src/ide
parent26f4321a5e9eb56b905ca9eee9cf52422c7ff859 (diff)
Fix typos (#115)
Found via `codespell -S target -L crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
Diffstat (limited to 'src/ide')
-rw-r--r--src/ide/complete.rs10
1 files changed, 5 insertions, 5 deletions
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(