diff options
| author | Grigory Shipunov | 2023-05-28 23:38:10 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2023-05-30 00:49:42 +0200 |
| commit | 1e98c823ea1d0cb9c5348a8ebb43a58a77bf9cce (patch) | |
| tree | 765738c5c582dde2e56cc994800166350710d90b /modules | |
| parent | e232e7c0ec1abc1b4361c9857b708515be19150e (diff) | |
Emacs: add tree-stitter support
This reverts commit 069072653a5c7713f13e7c895d0ce2e531ae34c3.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/emacs.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/emacs.nix b/modules/emacs.nix index a6a4b22..67aa4b6 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -12,7 +12,14 @@ services.emacs = { install = true; enable = false; - package = with pkgs; ((emacsPackagesFor emacsPgtk).emacsWithPackages (epkgs: with epkgs; [ + package = with pkgs; ((emacsPackagesFor (emacsPgtk.overrideAttrs (old: { + passthru = old.passthru // { + treeSitter = true; + }; + }))).emacsWithPackages (epkgs: with epkgs; [ + # treesitter bits + treesit-grammars.with-all-grammars + vterm pdf-tools ])); |
