gdritter repos dotfiles / 4b2cbca
Some emacs.el changes including dante Getty Ritter 7 years ago
1 changed file(s) with 14 addition(s) and 2 deletion(s). Collapse all Expand all
66 (setq-default c-basic-offset 2)
77 (menu-bar-mode 0)
88 (setq column-number-mode t)
9 (setq default-tab-width 4)
10 (setq indent-tabs-mode nil)
9 (setq default-tab-width 2)
10 (setq-default indent-tabs-mode nil)
11
12 (setq c-default-style "linux")
13 (c-set-offset 'substatement-open 0)
14 (add-to-list 'auto-mode-alist '("\\.edl\\'" . c-mode))
1115
1216 (setq scheme-program-name "guile")
1317 (setq vc-follow-symlinks t)
296300 (add-to-list 'Info-default-directory-list "/usr/lib/emacs/haskell-mode/")
297301 (setq haskell-mode-hook '(turn-on-haskell-indentation))))
298302
303 (use-package dante
304 :ensure t
305 :commands 'dante-mode
306 :init
307 (add-hook 'haskell-mode-hook 'dante-mode)
308 (add-hook 'haskell-mode-hook 'flycheck-mode))
309 ; (setq dante-repl-command-line '("cabal" "new-repl")))
310
299311 ;; an editor macro for creating obvious trivial lens impls
300312 (defun mk-lens ()
301313 (interactive)