Add emacs yaml mode.
This commit is contained in:
parent
ef7eb5f9e4
commit
6aa2a023d4
2 changed files with 12 additions and 0 deletions
|
@ -40,6 +40,7 @@ with lib;
|
||||||
"emacs::org"
|
"emacs::org"
|
||||||
"emacs::transmission"
|
"emacs::transmission"
|
||||||
"emacs::web-mode"
|
"emacs::web-mode"
|
||||||
|
"emacs::yaml-mode"
|
||||||
"emacs::yasnippet"
|
"emacs::yasnippet"
|
||||||
"extra"
|
"extra"
|
||||||
"haskell"
|
"haskell"
|
||||||
|
|
11
pkgsets/emacs/yaml-mode.nix
Normal file
11
pkgsets/emacs/yaml-mode.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
mkIf (elem "emacs::yaml-mode" config.machine.pkgs) {
|
||||||
|
programs.emacs.init.usePackage = {
|
||||||
|
yaml-mode = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue