emacs: remove irony flycheck and fix mu4e load path.
This commit is contained in:
parent
9116b1886f
commit
5bc148601a
3 changed files with 13 additions and 5 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
12
pkgsets/emacs/yuck-mode.nix
Normal file
12
pkgsets/emacs/yuck-mode.nix
Normal 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\\'"''];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue