(erc-autojoin-mode t)
(setq erc-autojoin-channels-alist
- '((".*\\.freenode.net" "#tahoe-lafs")
- (".*\\.oftc.net" "#debian-uk")
+ '((".*\\.freenode.net" "#haskell-beginners" "#tahoe-lafs")
+ (".*\\.oftc.net" "#debian-uk" "#debian-gnupg")
;; (".*\\.mozilla.org" "#rust-beginners")
))
;; haskell
(add-hook 'haskell-mode-hook 'intero-mode)
+;; hlint
+(add-to-list 'load-path "~/.emacs.d/hs-lint")
+(require 'hs-lint)
+(defun my-haskell-mode-hook ()
+ (local-set-key "\C-cl" 'hs-lint))
+
+(add-hook 'haskell-mode-hook 'my-haskell-mode-hook)
+
;; gofmt
(add-hook 'before-save-hook #'gofmt-before-save)
(add-hook 'go-mode-hook (lambda ()