emacs: Use modern indentation for Haskell code
This commit is contained in:
parent
2c5099ea7b
commit
111e229676
2 changed files with 5 additions and 0 deletions
|
@ -184,6 +184,7 @@
|
|||
(add-hook 'erc-mode-hook 'oni:erc-mode-func)
|
||||
(add-hook 'go-mode-hook 'oni:go-mode-func)
|
||||
(add-hook 'gtags-mode-hook 'oni:gtags-mode-func)
|
||||
(add-hook 'haskell-mode-hook 'oni:haskell-mode-func)
|
||||
(add-hook 'html-mode-hook 'oni:html-mode-func)
|
||||
(add-hook 'jabber-alert-message-hooks 'oni:jabber-alert-message-func)
|
||||
(add-hook 'jabber-chat-mode-hook 'oni:jabber-chat-mode-func)
|
||||
|
|
|
@ -120,6 +120,10 @@ DOT are intentionally being skipped."
|
|||
(local-set-key "\M-," 'gtags-find-tag)
|
||||
(local-set-key "\M-." 'gtags-find-rtag))
|
||||
|
||||
(defun oni:haskell-mode-func ()
|
||||
"Function for `haskell-mode-hook'."
|
||||
(turn-on-haskell-indentation))
|
||||
|
||||
(defun oni:html-mode-func ()
|
||||
"Function for `html-mode-hook'."
|
||||
(yas-minor-mode)
|
||||
|
|
Loading…
Reference in a new issue