diff options
author | NitinKM | 2024-01-08 02:46:53 +0000 |
---|---|---|
committer | GitHub | 2024-01-08 02:46:53 +0000 |
commit | e46fb585954a131a8f96cfd71cf2705fe0ff1e02 (patch) | |
tree | 58992e9b2a9d0c10730e04465f98e5dcea71b3d9 /book/src/install.md | |
parent | 00d681cc69fcc0d58f3603709400d26ea2647114 (diff) |
Info on how to skip grammar build when building from source (#8698)
* info: no grammar compile
Added instructions on how to compile without compiling grammars
* Update book/src/install.md
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'book/src/install.md')
-rw-r--r-- | book/src/install.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/book/src/install.md b/book/src/install.md index 89798501..2a4273b8 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -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 |