Fix typo on docs (#1201)
This commit is contained in:
parent
c08d2fae58
commit
3e15aead4a
@ -2,7 +2,7 @@ # Adding languages
|
|||||||
|
|
||||||
## Submodules
|
## 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
|
you can run the command
|
||||||
```sh
|
```sh
|
||||||
git submodule add -f <repository> helix-syntax/languages/tree-sitter-<name>
|
git submodule add -f <repository> helix-syntax/languages/tree-sitter-<name>
|
||||||
|
@ -158,7 +158,7 @@ fn language_tomls() {
|
|||||||
";
|
";
|
||||||
|
|
||||||
let base: Value = toml::from_slice(include_bytes!("../../languages.toml"))
|
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 user: Value = toml::from_str(USER).unwrap();
|
||||||
|
|
||||||
let merged = merge_toml_values(base, user);
|
let merged = merge_toml_values(base, user);
|
||||||
|
Loading…
Reference in New Issue
Block a user