summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/init.el b/init.el index 80b7d85..f3a19f0 100644 --- a/init.el +++ b/init.el
@@ -870,3 +870,16 @@ With PREFIX, prompt to change the current dictionary."
870 (inhibit-same-window . t))) 870 (inhibit-same-window . t)))
871 (add-hook 'gauche-mode-hook #'enable-gauche-paredit-mode) 871 (add-hook 'gauche-mode-hook #'enable-gauche-paredit-mode)
872 (add-hook 'inferior-scheme-mode-hook #'enable-gauche-paredit-mode)) 872 (add-hook 'inferior-scheme-mode-hook #'enable-gauche-paredit-mode))
873
874(use-package treesit-auto
875 ;; XXX: I don't really get the utility of this package, but I spent a ton of
876 ;; time figuring out how to properly build it ... so here it is.
877 :when (treesit-available-p)
878 :vc (:url "https://github.com/renzmann/treesit-auto")
879 :config
880 (setopt treesit-extra-load-path
881 ;; https://github.com/casouri/tree-sitter-module/
882 `(,(expand-file-name "~/misc/tree-sitter-module/dist/")))
883 (treesit-auto-apply-remap)
884 (define-advice treesit-install-language-grammar (:after (&rest _) apply-remap)
885 (treesit-auto-apply-remap)))