Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
docs: add note about loading native library
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaky authored Aug 29, 2024
1 parent fb827ce commit e652ac3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ implementation 'com.itsaky.androidide.treesitter:android-tree-sitter:<version>'
implementation 'com.itsaky.androidide.treesitter:tree-sitter-<language>:<version>'
```

Before using tree sitter, load the native library when appropriate (e.g. in the `onCreate()` method of your `Application` class, or in your activity) :

```java
TreeSitter.loadLibrary();
```

The following grammars have been published to Maven central :

- Java
Expand Down

0 comments on commit e652ac3

Please sign in to comment.