From eba52b9ce0f011eec7710806c781ff7910dbc8e9 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 7 May 2018 00:03:55 -0400 Subject: [PATCH] [emacs] assimilate and enable dante and its dependency, lcr --- .gitmodules | 6 ++++++ init.org | 9 +++++++++ lib/dante | 1 + lib/lcr | 1 + 4 files changed, 17 insertions(+) create mode 160000 lib/dante create mode 160000 lib/lcr diff --git a/.gitmodules b/.gitmodules index 58bb23c..39edd99 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,6 +16,9 @@ [submodule "company"] path = lib/company url = git@github.com:company-mode/company-mode.git +[submodule "dante"] + path = lib/dante + url = git@github.com:jyp/dante.git [submodule "dash"] path = lib/dash url = git@github.com:magnars/dash.el.git @@ -71,6 +74,9 @@ path = lib/ivy url = git@github.com:abo-abo/swiper.git info-path = doc +[submodule "lcr"] + path = lib/lcr + url = git@github.com:jyp/lcr.git [submodule "lean-mode"] path = lib/lean-mode url = git@github.com:leanprover/lean-mode.git diff --git a/init.org b/init.org index 181dac7..c301f19 100644 --- a/init.org +++ b/init.org @@ -965,6 +965,15 @@ TODO: break this giant source block down into individual org sections. flycheck-disabled-checkers '(haskell-stack-ghc haskell-ghc))) #+end_src +*** [[https://github.com/jyp/dante][dante]] + +#+begin_src emacs-lisp +(use-package dante + :after haskell-mode + :commands dante-mode + :hook (haskell-mode . dante-mode)) +#+end_src + *** [[https://github.com/mpickering/hlint-refactor-mode][hlint-refactor]] Emacs bindings for [[https://github.com/ndmitchell/hlint][hlint]]'s refactor option. This requires the refact diff --git a/lib/dante b/lib/dante new file mode 160000 index 0000000..18a2c4a --- /dev/null +++ b/lib/dante @@ -0,0 +1 @@ +Subproject commit 18a2c4a833f9ece01ccfb5910455fc2f0b0de986 diff --git a/lib/lcr b/lib/lcr new file mode 160000 index 0000000..49a59d8 --- /dev/null +++ b/lib/lcr @@ -0,0 +1 @@ +Subproject commit 49a59d80a4b55cc421cb55430ff8258887382c3d -- 2.20.1