summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-04-22 23:10:33 +0200
committerAlan Pearce2023-04-22 23:10:33 +0200
commitddffed56ae35b96e0dca94855ba3a563ace4feee (patch)
treeff3256df5ff4557bc2c4b8b7845356acc3dc52ab /user
parentd20b926079b14340c3f5e59007de998089413c43 (diff)
downloadnixfiles-ddffed56ae35b96e0dca94855ba3a563ace4feee.tar.lz
nixfiles-ddffed56ae35b96e0dca94855ba3a563ace4feee.tar.zst
nixfiles-ddffed56ae35b96e0dca94855ba3a563ace4feee.zip
emacs: stop tree-sitter trying to install language files
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index b071d2f2..514ff6bb 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1030,6 +1030,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (setq treemacs-no-png-images t)))
 
 (use-package tree-sitter
+  :init (defvar tree-sitter-langs--testing t) ; do not install grammars (nix does that)
   :ghook ('(sh-mode-hook
             c-mode-common-hook
             css-mode-hook