diff --git a/README.asciidoc b/README.asciidoc index e377d8d..94fab0c 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -77,13 +77,13 @@ group.number = ["integer_literal", "float_literal", "negative_literal"] If you are using nix, the `flake.nix` file provides an attribute `packages.kak-tree` resolving to a kakoune plugin one can use in home-manager's `programs.kakoune.plugins` or build yourself with `kakoune.override { plugins = ... }`. -If not, you will have to set up the build environment yourself. Since we use static linking, compile each tree sitter plugin to a statically linked library to `lib/libtree-sitter-LANG.a`, and then build: +If not, you will have to set up the build environment yourself. Since we use static linking, compile each tree sitter plugin to a statically linked library to `./sitters/libtree-sitter-LANG.a`, and then build: ```sh $ [ compile tree sitter for i.e. javascript... ] -$ ls lib +$ ls sitters libtree-sitter-javascript.a -$ cargo build --no-default-features --features javascript --release +$ SITTERS=./sitters cargo build --no-default-features --features javascript --release [ ... ] $ ./target/release/kak-tree --do-you-understand javascript Known language. Trying to load