emacs-tree-sitter / elisp-tree-sitter

Emacs Lisp bindings for tree-sitter
https://emacs-tree-sitter.github.io
MIT License
815 stars 73 forks source link

Add support for Android (with termux) #280

Closed vincentkam closed 2 months ago

vincentkam commented 2 months ago

This change allows the package to work on Emacs on Android + termux.

Users will still need to manually install the required termux packages.

Additionally, the DYN-VERSION file in the tsc package (in .emacs.d/elpa/tsc-[version]/ ) may need to be manually modified to conform to the expected format--e.g. from emacs-tree-sitter@0.18.0 to 0.18.0 (see https://github.com/emacs-tree-sitter/elisp-tree-sitter/pull/249 for more info).

Finally, a change to tree-sitter-langs package is also needed for things to work locally (see https://github.com/emacs-tree-sitter/tree-sitter-langs/pull/563).

jcs090218 commented 2 months ago

Thanks!