diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-06-02 22:32:49 +0200 |
---|---|---|
committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-06-02 23:13:42 +0200 |
commit | 662688817b2156edd47019f00f53774e5e00224a (patch) | |
tree | 036fa2689dac229d053011f0f52c7e329f0ff9cc /src | |
parent | f5fbe8e3b58b707eadac70de94ca0475071e5da9 (diff) | |
download | rneovim-662688817b2156edd47019f00f53774e5e00224a.tar.gz rneovim-662688817b2156edd47019f00f53774e5e00224a.tar.bz2 rneovim-662688817b2156edd47019f00f53774e5e00224a.zip |
treesitter: enhance script and add README
The script now updates a `treesitter_commit_sha.txt` file to keep track
of which commit/branch/tag we're at.
Diffstat (limited to 'src')
-rw-r--r-- | src/tree_sitter/README.md | 16 | ||||
-rw-r--r-- | src/tree_sitter/treesitter_commit_hash.txt | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/tree_sitter/README.md b/src/tree_sitter/README.md new file mode 100644 index 0000000000..20cb35e7c3 --- /dev/null +++ b/src/tree_sitter/README.md @@ -0,0 +1,16 @@ +Tree-sitter vendor runtime +========================== + +This is the vendor runtime code for treesitter. + +The original code can be found [here](https://github.com/tree-sitter/tree-sitter). + +As this code is not ours, if you find any bugs, feel free to open an issue, so that we can +investigate and determine if this should go upstream. + +# Updating + +To update the treesitter runtime, use the `update-ts-runtime.sh` script in the `scripts` directory: +```sh +./scripts/update-ts-runtime.sh <commit you want to update to> +``` diff --git a/src/tree_sitter/treesitter_commit_hash.txt b/src/tree_sitter/treesitter_commit_hash.txt new file mode 100644 index 0000000000..3053a9ca25 --- /dev/null +++ b/src/tree_sitter/treesitter_commit_hash.txt @@ -0,0 +1 @@ +9a82dcc666d06617cbab3061467075019fae0b0d |