on master help sign in
Fix typo on docs (#1201)
3e15aeaGeorge Rodrigues
book/src/guides/adding_languages.md+1−1
@@ -2,7 +2,7 @@
2
2
3## Submodules
3## Submodules
4
4
5−To add a new langauge, you should first add a tree-sitter submodule. To do this,
5+To add a new language, you should first add a tree-sitter submodule. To do this,
6you can run the command
6you can run the command
7```sh
7```sh
8git submodule add -f <repository> helix-syntax/languages/tree-sitter-<name>
8git submodule add -f <repository> helix-syntax/languages/tree-sitter-<name>
helix-core/src/lib.rs+1−1
@@ -158,7 +158,7 @@ mod merge_toml_tests {
158 ";
158 ";
159
159
160 let base: Value = toml::from_slice(include_bytes!("../../languages.toml"))
160 let base: Value = toml::from_slice(include_bytes!("../../languages.toml"))
161− .expect("Couldn't parse built-in langauges config");
161+ .expect("Couldn't parse built-in languages config");
162 let user: Value = toml::from_str(USER).unwrap();
162 let user: Value = toml::from_str(USER).unwrap();
163
163
164 let merged = merge_toml_values(base, user);
164 let merged = merge_toml_values(base, user);