Start playing with Emacs Tree-sitter
This commit is contained in:
parent
00917bb83b
commit
78e67f1624
15
README.org
15
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user