diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a8cec96..92a36df 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,7 +22,7 @@ other things, help with syntax highlighting. to learn how to write queries, consider [the official docs][005] - [corpus/][103] -> this directory contains tests for the parser. the tests -roughly organized in directories with their nodes. add a file with a descriprive +roughly organized in directories with their nodes. add a file with a descriptive name that should generally cover a node to the right folder and write the tests using the [special test syntax][006] @@ -75,7 +75,7 @@ a [`sample config file`][105] is provided to get you started. ``` ## using the parser from rust -1. the code is located at [`exanples/main.rs`][106] +1. the code is located at [`examples/main.rs`][106] 2. run it with `cargo run --example main` ## tips diff --git a/installation/helix.md b/installation/helix.md index 3612416..48a77d9 100644 --- a/installation/helix.md +++ b/installation/helix.md @@ -3,8 +3,8 @@ most sources have grammars for common languages (including nu!) built in. ### Using built-in helix grammars Version from master branch of helix or any release after (not including) 23.05 -will have this grammar and queries preinstalled. Hovewer due to rapid -development pace of nushell they might be severly out of date. +will have this grammar and queries preinstalled. However due to rapid +development pace of nushell they might be severely out of date. ### Installing up to date grammar from this repo Following [official guide](https://docs.helix-editor.com/languages.html#tree-sitter-grammar-configuration) @@ -16,7 +16,7 @@ name = "nu" source = { git = "https://github.com/nushell/tree-sitter-nu", rev = "" } ``` -Then downaload and install up-to-date grammar: +Then download and install up-to-date grammar: ```nu hx -g fetch hx -g build diff --git a/installation/neovim.md b/installation/neovim.md index 6c1e080..d71cd78 100644 --- a/installation/neovim.md +++ b/installation/neovim.md @@ -35,7 +35,7 @@ highlight groups with tree-sitter nodes. Run `:highlight` in neovim for a list of highlight groups. If you are using the `lazy` package manager for *neovim*, you can run the -following snippet to install the hightlights file and enable the highlighting: +following snippet to install the highlights file and enable the highlighting: ```nushell let remote = "https://raw.githubusercontent.com/nushell/tree-sitter-nu/main/queries/" let local = (