Skip to content

Commit 5a0a1db

Browse files
author
Paul Scott
committed
Changed HELIX_RUNTIME build from src instructions
1 parent c4620ff commit 5a0a1db

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

book/src/install.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ cargo install --path helix-term --locked
100100
This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars in `./runtime/grammars`.
101101

102102
Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
103-
config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden
104-
via the `HELIX_RUNTIME` environment variable.
103+
config directory (for example `~/.config/helix/runtime` on Linux/macOS). An alternative runtime directory can
104+
be used by setting the `HELIX_RUNTIME` environment variable. Both runtime directories can be used at the same
105+
time, with the files residing under the config runtime directory given priority.
105106

106107
| OS | Command |
107108
| -------------------- | ------------------------------------------------ |
@@ -125,11 +126,6 @@ cd %appdata%\helix
125126
mklink /D runtime "<helix-repo>\runtime"
126127
```
127128

128-
The runtime location can be overridden via the `HELIX_RUNTIME` environment variable.
129-
130-
> NOTE: if `HELIX_RUNTIME` is set prior to calling `cargo install --path helix-term --locked`,
131-
> tree-sitter grammars will be built in `$HELIX_RUNTIME/grammars`.
132-
133129
If you plan on keeping the repo locally, an alternative to copying/symlinking
134130
runtime files is to set `HELIX_RUNTIME=/path/to/helix/runtime`
135131
(`HELIX_RUNTIME=$PWD/runtime` if you're in the helix repo directory).

0 commit comments

Comments
 (0)