diff options
-rw-r--r-- | .emacs | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -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 | ) | ||