~magic_rb/website

4971e799bc8e36e10cc3c8e0ced093f241c5a9f3 — Magic_RB 2 years ago 9b2cf35
Add YAML mode

Signed-off-by: Magic_RB <magic_rb@redalder.org>
3 files changed, 22 insertions(+), 1 deletions(-)

M flake.lock
M flake.nix
M make.el
M flake.lock => flake.lock +18 -1
@@ 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",

M flake.nix => flake.nix +3 -0
@@ 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}")'

M make.el => make.el +1 -0
@@ 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