Simplify Emacs configuration a bit

In particular, rely on some defaults set in the emacs init module.
parent 950737f0
......@@ -258,15 +258,9 @@ in
command = [ "direnv-mode" "direnv-update-environment" ];
};
dhall-mode = {
enable = true;
mode = [ ''"\\.dhall\\'"'' ];
};
dhall-mode.enable = true;
dockerfile-mode = {
enable = true;
mode = [ ''"Dockerfile\\'"'' ];
};
dockerfile-mode.enable = true;
doom-modeline = {
enable = true;
......@@ -310,10 +304,7 @@ in
];
};
elm-mode = {
enable = true;
mode = [ ''"\\.elm\\'"'' ];
};
elm-mode.enable = true;
etags = {
enable = true;
......@@ -831,11 +822,6 @@ in
markdown-mode = {
enable = true;
mode = [
''"\\.mdwn\\'"''
''"\\.markdown\\'"''
''"\\.md\\'"''
];
config = ''
(setq markdown-command "${pkgs.pandoc}/bin/pandoc")
'';
......@@ -854,7 +840,6 @@ in
nix-mode = {
enable = true;
mode = [ ''"\\.nix\\'"'' ];
hook = [ "(nix-mode . subword-mode)" ];
};
......@@ -1273,17 +1258,7 @@ in
'';
};
octave = {
enable = true;
mode = [
''("\\.m\\'" . octave-mode)''
];
};
yaml-mode = {
enable = true;
mode = [ ''"\\.yaml\\'"'' ];
};
yaml-mode.enable = true;
wc-mode = {
enable = true;
......@@ -1357,10 +1332,7 @@ in
'';
};
rust-mode = {
enable = true;
mode = [ ''"\\.rs\\'"'' ];
};
rust-mode.enable = true;
sendmail = {
enable = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment