summaryrefslogtreecommitdiff
path: root/tw/home
diff options
context:
space:
mode:
authorTimo Wilken2023-05-28 19:39:47 +0200
committerTimo Wilken2023-05-28 19:39:47 +0200
commit98374ca5f758bc7d82557e0d2b5c710175d37a21 (patch)
treedaedec1a72324f540b75297342c618c01f166bd1 /tw/home
parenta0d8010249ec4862d64ede6699b18a069fe94ef2 (diff)
Install and configure Emacs haskell-mode
Diffstat (limited to 'tw/home')
-rw-r--r--tw/home/files/emacs-init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el
index dcf7e784..13e154ff 100644
--- a/tw/home/files/emacs-init.el
+++ b/tw/home/files/emacs-init.el
@@ -309,6 +309,9 @@
:mode (rx ".dot" eos)
:custom (graphviz-dot-view-command "xdot %s" "Use xdot for previewing graphviz files."))
+(use-package haskell-mode
+ :mode (rx (or ".hs" ".lhs" ".hsc" ".cpphs" ".c2hs") eos))
+
(use-package hcl-mode
:mode (rx "." (or "hcl" "nomad") eos))