Emacs: use built-in (>=29) tree-sitter package
Alan Pearce alan@alanpearce.eu
Tue, 29 Aug 2023 07:15:29 +0200
2 files changed, 1 insertions(+), 25 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -1027,28 +1027,6 @@ :defer t :config (progn (setq treemacs-no-png-images t))) -(use-package tree-sitter - :defer 30 - :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 - go-mode-hook - html-mode-hook - nix-mode-hook - js-mode-hook - js2-mode-hook - json-mode-hook - typescript-mode-hook - python-mode-hook - rustic-mode-hook))) -(use-package tree-sitter-langs - :defer 30 - :after tree-sitter) - -(use-package tree-sitter-indent - :ghook ('(rustic-mode-hook))) - (use-package eglot :defer 30 :general (:states 'normal :keymaps 'eglot-mode-map
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -173,9 +173,7 @@ rainbow-mode rainbow-delimiters stimmung-themes toml-mode - tree-sitter - tree-sitter-langs - tree-sitter-indent + treesit-grammars.with-all-grammars use-package vertico vertico-prescient