Emacs: add tree-stitter support

This reverts commit 069072653a.
This commit is contained in:
Grigory Shipunov 2023-05-28 23:38:10 +02:00
parent e232e7c0ec
commit 1e98c823ea
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 45 additions and 4 deletions

View file

@ -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
]));