diff options
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 25 |
1 files changed, 9 insertions, 16 deletions
@@ -66,22 +66,15 @@ 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) | 69 | (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) |
70 | (eval-after-load "haskell-mode" | 70 | (eval-after-load "haskell-mode" |
71 | '(progn | 71 | '(progn |
72 | (define-key haskell-mode-map (kbd "C-,") 'haskell-move-nested-lift) | 72 | (define-key haskell-mode-map (kbd "C-,") 'haskell-move-nested-lift) |
73 | (define-key haskell-mode-map (kbd "C-.") 'haskell-move-nested-right))) | 73 | (define-key haskell-mode-map (kbd "C-.") 'haskell-move-nested-right) |
74 | 74 | (setq haskell-font-lock-symbols nil) | |
75 | (add-hook 'haskell-mode-hook | 75 | (custom-set-faces |
76 | (setq haskell-font-lock-symbols nil) | 76 | '(font-lock-type-face ((t (:foreground "PaleGreen" :weight bold)))) |
77 | ) | 77 | '(font-lock-function-face ((t (:foreground "LightSkyBlue" :weight bold)))) |
78 | ) | 78 | ) |
79 | (add-hook 'haskell-mode-hook | 79 | ) |
80 | (custom-set-faces | 80 | ) |
81 | '(font-lock-type-face ((t (:foreground "PaleGreen" :weight bold)))) | ||
82 | '(font-lock-function-face ((t (:foreground "LightSkyBlue" :weight bold)))) | ||
83 | ) | ||
84 | ) | ||
85 | (add-hook 'haskell-mode-hook | ||
86 | 'haskell-indentation-mode | ||
87 | ) | ||