aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Rodrigues2021-12-01 00:11:25 +0000
committerGitHub2021-12-01 00:11:25 +0000
commit3e15aead4adc5139417230d15b38112cdc4f7043 (patch)
tree35f8ec51b9a3ce04a4ee5eda145dcecc83e6a00c
parentc08d2fae587a0a5dd2a1e2e44a1f385d142c9d59 (diff)
Fix typo on docs (#1201)
-rw-r--r--book/src/guides/adding_languages.md2
-rw-r--r--helix-core/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/guides/adding_languages.md b/book/src/guides/adding_languages.md
index 446eb479..9ad2c285 100644
--- a/book/src/guides/adding_languages.md
+++ b/book/src/guides/adding_languages.md
@@ -2,7 +2,7 @@
## Submodules
-To add a new langauge, you should first add a tree-sitter submodule. To do this,
+To add a new language, you should first add a tree-sitter submodule. To do this,
you can run the command
```sh
git submodule add -f <repository> helix-syntax/languages/tree-sitter-<name>
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs
index de7e95c1..8ef41ef3 100644
--- a/helix-core/src/lib.rs
+++ b/helix-core/src/lib.rs
@@ -158,7 +158,7 @@ mod merge_toml_tests {
";
let base: Value = toml::from_slice(include_bytes!("../../languages.toml"))
- .expect("Couldn't parse built-in langauges config");
+ .expect("Couldn't parse built-in languages config");
let user: Value = toml::from_str(USER).unwrap();
let merged = merge_toml_values(base, user);