From 8ff25eb9c350569dd56ef5cebe5ce4783d16dec5 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Wed, 4 Oct 2023 01:23:55 +0900 Subject: [PATCH] Add tree-sitter --- .emacs.d/.gitignore | 1 + .emacs.d/tree-sitter/README.md | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 .emacs.d/tree-sitter/README.md diff --git a/.emacs.d/.gitignore b/.emacs.d/.gitignore index 93889d4..6e4464f 100644 --- a/.emacs.d/.gitignore +++ b/.emacs.d/.gitignore @@ -41,5 +41,6 @@ server /forge-database.sqlite /history /tree-sitter +!/tree-sitter/README.md /lib /lib64 \ No newline at end of file diff --git a/.emacs.d/tree-sitter/README.md b/.emacs.d/tree-sitter/README.md new file mode 100644 index 0000000..dc12fbd --- /dev/null +++ b/.emacs.d/tree-sitter/README.md @@ -0,0 +1,9 @@ +# tree-sitter + +``` +git clone git@github.com:emacs-mirror/emacs.git --depth 1 +cd emacs/admin/notes/tree-sitter/build-module +./batch.sh +mv dist/*.so ~/.emacs.d/tree-sitter +``` +see also https://zenn.dev/nyoho/articles/df0aced5f5dd8b