File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,9 @@ cargo install --path helix-term --locked
100100This will install the ` hx ` binary to ` $HOME/.cargo/bin ` and build tree-sitter grammars in ` ./runtime/grammars ` .
101101
102102Helix 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
125126mklink /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-
133129If you plan on keeping the repo locally, an alternative to copying/symlinking
134130runtime files is to set ` HELIX_RUNTIME=/path/to/helix/runtime `
135131(` HELIX_RUNTIME=$PWD/runtime ` if you're in the helix repo directory).
You can’t perform that action at this time.
0 commit comments