From e864074600bddf14c6f75bdd683d794705b22367 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 11 Apr 2020 17:45:59 +0100 Subject: Support elm-mode for Emacs Instead of (ab)using haskell-mode, support elm-mode. TODO: Support elm-format on buffer save --- emacs/.emacs.d/wpc/wpc-javascript.el | 3 +++ emacs/default.nix | 1 + 2 files changed, 4 insertions(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/wpc/wpc-javascript.el b/emacs/.emacs.d/wpc/wpc-javascript.el index 279b374e37ea..af3a2b4e1841 100644 --- a/emacs/.emacs.d/wpc/wpc-javascript.el +++ b/emacs/.emacs.d/wpc/wpc-javascript.el @@ -77,5 +77,8 @@ :config (general-add-hook wpc/frontend-hooks #'prettier-js-mode)) +;; Support Elm +(use-package elm-mode) + (provide 'wpc-javascript) ;;; wpc-javascript.el ends here diff --git a/emacs/default.nix b/emacs/default.nix index 5ee63f7c9e3f..293c7d4da4e9 100644 --- a/emacs/default.nix +++ b/emacs/default.nix @@ -25,6 +25,7 @@ let (with epkgs.melpaPackages; [ notmuch + elm-mode ts vterm base16-theme -- cgit 1.4.1