gdritter repos dotfiles / 6865228
Customized Markdown mode a little more, added some custom modes, commented out ghc-mode Getty Ritter 8 years ago
1 changed file(s) with 10 addition(s) and 8 deletion(s). Collapse all Expand all
162162 :init
163163 (progn
164164 (add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode))
165 (add-to-list 'auto-mode-alist '("\\.page\\'" . markdown-mode))
165166 (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)))
167169
168170 (use-package pandoc-mode
169171 :ensure t
245247 (add-to-list 'Info-default-directory-list "/usr/lib/emacs/haskell-mode/")
246248 (setq haskell-mode-hook '(turn-on-haskell-indentation))))
247249
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)))))
255257
256258
257259