diff --git a/lisp/lib/sandbox.el b/lisp/lib/sandbox.el index 8bc21c40a..2e1b114a3 100644 --- a/lisp/lib/sandbox.el +++ b/lisp/lib/sandbox.el @@ -87,6 +87,9 @@ package-archives ',package-archives) (with-eval-after-load 'doom (run-hooks 'doom-before-init-hook)) + (with-eval-after-load 'treesit + (add-to-list 'treesit-extra-load-path + ,(file-name-concat doom-profile-data-dir "tree-sitter"))) (with-eval-after-load 'undo-tree ;; HACK `undo-tree' sometimes throws errors because ;; `buffer-undo-tree' isn't correctly initialized.