Closed lasse16 closed 2 years ago
There is no issue on the tree-sitter mentioning these binaries. The documentation mentiones them only as compiled language binaries. Further testing needed. Can I delete the grammar-repo?
docs (https://tree-sitter.github.io/tree-sitter/syntax-highlighting) """ The Tree-sitter CLI automatically creates a directory in your home folder called ~/.tree-sitter. This is used to store compiled language binaries, and it can also contain a JSON configuration file. """
Found out, that these binaries are the only thing installed when setting up nvim-treesitter
.
So, I figured that they can be removed. The grammars are only necessary for generating these binaries, all queries then only require these binaries.
Check #2 There are mysterious binaries located at
.tree-sitter/bin
. They are not generated for every grammar installed. I'm hoping they are replacements for the entire grammar repositiory but thats only a small hope.