|
|
@ -175,19 +175,19 @@ RUSTFLAGS="-C target-feature=-crt-static"
|
|
|
|
|
|
|
|
|
|
|
|
1. Clone the repository:
|
|
|
|
1. Clone the repository:
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
git clone https://github.com/helix-editor/helix
|
|
|
|
git clone https://github.com/helix-editor/helix
|
|
|
|
cd helix
|
|
|
|
cd helix
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
2. Compile from source:
|
|
|
|
2. Compile from source:
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
cargo install --path helix-term --locked
|
|
|
|
cargo install --path helix-term --locked
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
This command will create the `hx` executable and construct the tree-sitter
|
|
|
|
This command will create the `hx` executable and construct the tree-sitter
|
|
|
|
grammars in the local `runtime` folder.
|
|
|
|
grammars in the local `runtime` folder.
|
|
|
|
|
|
|
|
|
|
|
|
> 💡 Tree-sitter grammars can be fetched and compiled if not pre-packaged. Fetch
|
|
|
|
> 💡 Tree-sitter grammars can be fetched and compiled if not pre-packaged. Fetch
|
|
|
|
> grammars with `hx --grammar fetch` and compile them with
|
|
|
|
> grammars with `hx --grammar fetch` and compile them with
|
|
|
|