aboutsummaryrefslogtreecommitdiff
path: root/haskell.el
diff options
context:
space:
mode:
authorbard <[email protected]>2023-09-24 18:24:54 -0400
committerbard <[email protected]>2023-09-24 18:24:54 -0400
commitfd6d03edf73e36343b6f30c39f4e2b8115e4fd64 (patch)
tree13bdffdb844643a50183248aa843ca2ab7c1a8c8 /haskell.el
parent15ef46b2ae2bda54fde356a84259a9c390c84ab5 (diff)
hlint keybind and custom hook
Diffstat (limited to 'haskell.el')
-rw-r--r--haskell.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/haskell.el b/haskell.el
new file mode 100644
index 0000000..45a5c71
--- /dev/null
+++ b/haskell.el
@@ -0,0 +1,4 @@
+(require 'hs-lint)
+(defun bard/haskell-mode-hook ()
+ (local-set-key (kbd "C-c h l") 'hs-lint))
+(add-hook 'haskell-mode-hook 'bard/haskell-mode-hook)