感谢大佬指点,同时感谢 @zqso 。
我来交作业啦
克隆这个仓库
在 build.sh 里添加
"elisp")
org="Wilfred"
;;
chmod u+x build.sh
chmod u+x batch.sh
./batch.sh
build 完成后把 dist/下面的动态库移动到配置文件夹下的 tree-sitter/
文件夹下
Emacs 配置里写上 (require 'treesit)
然后就可以在 M-x 里开启 xxx-ts-mode 了。