Update README

main
xenia 2023-12-29 23:28:32 +01:00
parent a0fb48c088
commit d80739e62d
1 changed files with 3 additions and 3 deletions

View File

@ -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