diff --git a/modules/tools/tree-sitter/config.el b/modules/tools/tree-sitter/config.el index 6a836f9ab..c0a5b4042 100644 --- a/modules/tools/tree-sitter/config.el +++ b/modules/tools/tree-sitter/config.el @@ -100,7 +100,7 @@ :config ;; HACK: Keep $EMACSDIR clean by installing grammars to the active profile. - (add-to-list 'treesit-extra-load-path (concat doom-profile-data-dir "tree-sitter")) + (add-to-list 'treesit-extra-load-path (file-name-concat doom-profile-data-dir "tree-sitter")) (defadvice! +tree-sitter--install-grammar-to-local-dir-a (fn &rest args) "Write grammars to `doom-profile-data-dir'." :around #'treesit-install-language-grammar