diff --git a/README.org b/README.org index f3a10a9..1684cee 100644 --- a/README.org +++ b/README.org @@ -310,6 +310,21 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a (add-to-list 'initial-frame-alist '(width . 180))) #+end_src +* [[https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/notes/tree-sitter/starter-guide?h=feature/tree-sitter][Emacs Tree-sitter]] +:PROPERTIES: +:CUSTOM_ID: sec:emacs-tree-sitter +:END: + +#+caption[Customize Emacs Tree-sitter]: +#+caption: Customize Emacs Tree-sitter. +#+name: lst:customize-emacs-tree-sitter +#+begin_src emacs-lisp +(when (require 'treesit nil t) + (let ((tselp (expand-file-name "~/VCS/tree-sitter-module/dist/"))) + (when (file-exists-p tselp) + (add-to-list 'treesit-extra-load-path tselp)))) +#+end_src + * [[info:emacs#Package Installation][Install the selected packages (info)]] :PROPERTIES: :CUSTOM_ID: sec:install-selected-packages