summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-07-16 20:05:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-07-16 20:05:06 +0200
commit4a30327944eed71d936836d05c665aa58afad85b (patch)
treef3be261cff37dabdebb48b31dbf092f198ce0669
parente62a346d035773783ae0ce72963f9bdfb5a03601 (diff)
downloaddotfiles-4a30327944eed71d936836d05c665aa58afad85b.tar
dotfiles-4a30327944eed71d936836d05c665aa58afad85b.tar.gz
dotfiles-4a30327944eed71d936836d05c665aa58afad85b.tar.bz2
dotfiles-4a30327944eed71d936836d05c665aa58afad85b.tar.xz
dotfiles-4a30327944eed71d936836d05c665aa58afad85b.zip
Tweaks to haskell-mode
-rw-r--r--.emacs16
1 files changed, 12 insertions, 4 deletions
diff --git a/.emacs b/.emacs
index d7de207..c35c552 100644
--- a/.emacs
+++ b/.emacs
@@ -66,9 +66,17 @@ Return a list of installed packages or nil for every skipped package."
66 kept-old-versions 2 66 kept-old-versions 2
67 version-control t) 67 version-control t)
68 68
69(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
70(eval-after-load "haskell-mode"
71 '(progn
72 (define-key haskell-mode-map (kbd "C-,") 'haskell-move-nested-lift)
73 (define-key haskell-mode-map (kbd "C-.") 'haskell-move-nested-right)))
74
69(custom-set-variables 75(custom-set-variables
70 '(haskell-font-lock-symbols t)) 76 '(haskell-font-lock-symbols t))
71(custom-set-faces 77(add-hook 'haskell-mode-hook
72 '(font-lock-type-face ((t (:foreground "PaleGreen" :weight bold)))) 78 (custom-set-faces
73 '(font-lock-function-face ((t (:foreground "LightSkyBlue" :weight bold)))) 79 '(font-lock-type-face ((t (:foreground "PaleGreen" :weight bold))))
74 ) 80 '(font-lock-function-face ((t (:foreground "LightSkyBlue" :weight bold))))
81 )
82 )