From cd4622db9b041b9766b940fed0560b3d1a46a234 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sun, 29 May 2022 17:52:26 +0200 Subject: [PATCH] Update from-source install instruction in README (#2603) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c03c14a23..032ecf675 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,11 @@ If you would like to build from source: git clone https://github.com/helix-editor/helix cd helix cargo install --path helix-term -hx --grammar fetch -hx --grammar build ``` This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars. +If you want to customize your `languages.toml` config, +tree-sitter grammars may be manually fetched and built with `hx --grammar fetch` and `hx --grammar build`. Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows).