From fa6a2607b723dfc99ece76870e909ae3284ef953 Mon Sep 17 00:00:00 2001 From: Troy Brown Date: Sun, 21 Sep 2025 10:51:13 -0400 Subject: [PATCH] fix(lib): doom/sandbox: tree-sitter extra load path --- lisp/lib/sandbox.el | 3 +++ 1 file changed, 3 insertions(+) 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.