all repos — nixfiles @ ddffed56ae35b96e0dca94855ba3a563ace4feee

System and user configuration, managed by nix and home-manager

emacs: stop tree-sitter trying to install language files
Alan Pearce alan@alanpearce.eu
Sat, 22 Apr 2023 23:10:33 +0200
commit

ddffed56ae35b96e0dca94855ba3a563ace4feee

parent

d20b926079b14340c3f5e59007de998089413c43

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1030,6 +1030,7 @@ :config (progn             (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