diff --git a/flake.lock b/flake.lock index 9fd3f5e..61c67f4 100644 --- a/flake.lock +++ b/flake.lock @@ -115,7 +115,8 @@ "nixng": "nixng", "nixpkgs": "nixpkgs_2", "org-thtml": "org-thtml", - "web-mode": "web-mode" + "web-mode": "web-mode", + "yaml-mode": "yaml-mode" } }, "web-mode": { @@ -133,6 +134,22 @@ "repo": "web-mode", "type": "github" } + }, + "yaml-mode": { + "flake": false, + "locked": { + "lastModified": 1641308620, + "narHash": "sha256-/0Gt2jqJljN5glxG7H0L3rZVRc34d9jCkoYALHDRt7w=", + "owner": "yoshiki", + "repo": "yaml-mode", + "rev": "a79d2a7b9281f8c56f461d717b1ba40fc58e22fd", + "type": "github" + }, + "original": { + "owner": "yoshiki", + "repo": "yaml-mode", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 74dac44..90dedfb 100644 --- a/flake.nix +++ b/flake.nix @@ -7,6 +7,7 @@ modus-themes = { url = "github:protesilaos/modus-themes"; flake = false; }; web-mode = { url = "github:fxbois/web-mode"; flake = false; }; hcl-mode = { url = "github:purcell/emacs-hcl-mode"; flake = false; }; + yaml-mode = { url = "github:yoshiki/yaml-mode"; flake = false; }; }; outputs = { self @@ -17,6 +18,7 @@ , modus-themes , web-mode , hcl-mode + , yaml-mode , ... }@inputs: let @@ -40,6 +42,7 @@ emacsclient -e $'(add-to-list \'load-path "${emacs-htmlize}")' emacsclient -e $'(add-to-list \'load-path "${web-mode}")' emacsclient -e $'(add-to-list \'load-path "${hcl-mode}")' + emacsclient -e $'(add-to-list \'load-path "${yaml-mode}")' emacsclient -e '(load-file "./make.el")' emacsclient -e '(magic_rb/publish-website "${which}")' diff --git a/make.el b/make.el index 690f20d..bc6278b 100644 --- a/make.el +++ b/make.el @@ -18,6 +18,7 @@ (require 'web-mode) (require 'hcl-mode) +(require 'yaml-mode) (ignore-errors (require 'ox-thtml)) ;; https://alhassy.github.io/AlBasmala.html#Floating-TOC