Customized Markdown mode a little more, added some custom modes, commented out ghc-mode
Getty Ritter
8 years ago
162 | 162 | :init |
163 | 163 | (progn |
164 | 164 | (add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode)) |
165 | (add-to-list 'auto-mode-alist '("\\.page\\'" . markdown-mode)) | |
165 | 166 | (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) |
166 |
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) |
|
167 | (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | |
168 | (add-hook 'markdown-mode-hook 'visual-line-mode))) | |
167 | 169 | |
168 | 170 | (use-package pandoc-mode |
169 | 171 | :ensure t |
245 | 247 | (add-to-list 'Info-default-directory-list "/usr/lib/emacs/haskell-mode/") |
246 | 248 | (setq haskell-mode-hook '(turn-on-haskell-indentation)))) |
247 | 249 | |
248 | (use-package ghc | |
249 | :ensure t | |
250 | :init | |
251 | (progn | |
252 | (autoload 'ghc-init "ghc" nil t) | |
253 | (autoload 'ghc-debug "ghc" nil t) | |
254 | (add-hook 'haskell-mode-hook (lambda () (ghc-init))))) | |
250 | ;; (use-package ghc | |
251 | ;; :ensure t | |
252 | ;; :init | |
253 | ;; (progn | |
254 | ;; (autoload 'ghc-init "ghc" nil t) | |
255 | ;; (autoload 'ghc-debug "ghc" nil t) | |
256 | ;; (add-hook 'haskell-mode-hook (lambda () (ghc-init))))) | |
255 | 257 | |
256 | 258 | |
257 | 259 |