diff options
| author | bard <[email protected]> | 2023-09-24 18:24:54 -0400 |
|---|---|---|
| committer | bard <[email protected]> | 2023-09-24 18:24:54 -0400 |
| commit | fd6d03edf73e36343b6f30c39f4e2b8115e4fd64 (patch) | |
| tree | 13bdffdb844643a50183248aa843ca2ab7c1a8c8 | |
| parent | 15ef46b2ae2bda54fde356a84259a9c390c84ab5 (diff) | |
hlint keybind and custom hook
| -rw-r--r-- | haskell.el | 4 | ||||
| -rw-r--r-- | init.el | 3 |
2 files changed, 6 insertions, 1 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) @@ -4,7 +4,8 @@ ;; Loading all other files (setq my-config-files '("~/.emacs.d/packages.el" - "~/.emacs.d/org.el")) + "~/.emacs.d/org.el" + "~/.emacs.d/haskell.el")) (dolist (config-file my-config-files) (load config-file)) |
