Skip to content

Commit

Permalink
Info on how to skip grammar build when building from source (helix-ed…
Browse files Browse the repository at this point in the history
…itor#8698)

* info: no grammar compile

Added instructions on how to compile without compiling grammars

* Update book/src/install.md

Co-authored-by: Michael Davis <[email protected]>

---------

Co-authored-by: Michael Davis <[email protected]>
  • Loading branch information
2 people authored and Vulpesx committed Jun 7, 2024
1 parent 84bcf78 commit 3bac35f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions book/src/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ RUSTFLAGS="-C target-feature=-crt-static"
This command will create the `hx` executable and construct the tree-sitter
grammars in the local `runtime` folder.

> 💡 If you do not want to fetch or build grammars, set an environment variable `HELIX_DISABLE_AUTO_GRAMMAR_BUILD`

> 💡 Tree-sitter grammars can be fetched and compiled if not pre-packaged. Fetch
> grammars with `hx --grammar fetch` and compile them with
> `hx --grammar build`. This will install them in
Expand Down

0 comments on commit 3bac35f

Please sign in to comment.