emacs: remove irony flycheck and fix mu4e load path.

This commit is contained in:
Kevin Baensch 2024-05-09 13:26:18 +02:00
parent 9116b1886f
commit 5bc148601a
Signed by: derped
GPG key ID: C0F1D326C7626543
3 changed files with 13 additions and 5 deletions

View file

@ -19,10 +19,6 @@ with lib;
enable = elem "emacs::haskell" config.machine.pkgs; enable = elem "emacs::haskell" config.machine.pkgs;
}; };
programs.emacs.init.usePackage.flycheck-irony = {
enable = elem "emacs::irony" config.machine.pkgs;
};
programs.emacs.init.usePackage.flycheck-mypy = { programs.emacs.init.usePackage.flycheck-mypy = {
enable = elem "emacs::elpy" config.machine.pkgs; enable = elem "emacs::elpy" config.machine.pkgs;
}; };

View file

@ -102,7 +102,7 @@ in
'("ViewInBrowser" . mu4e-action-view-in-browser) t) '("ViewInBrowser" . mu4e-action-view-in-browser) t)
''; '';
extraConfig = '' extraConfig = ''
:load-path "${pkgs.mu}/share/emacs/site-lisp/mu4e" :load-path "${pkgs.mu.mu4e}/share/emacs/site-lisp/mu4e"
''; '';
}; };

View file

@ -0,0 +1,12 @@
{
config,
lib,
...
}:
with lib;
mkIf (elem "emacs::yuck-mode" config.machine.pkgs) {
programs.emacs.init.usePackage.yuck-mode = {
enable = true;
mode = [''"\\.yuck\\'"''];
};
}