Skip to content

Commit

Permalink
Some customizations related to the newer haskell-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Oct 1, 2015
1 parent c4f16d3 commit a4442bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion init.el
Expand Up @@ -2068,7 +2068,7 @@ Inspired by Erik Naggum's `recursive-edit-with-single-window'."
("=>" . ?⇒)
("~>" . ?⇝)
("<~" . ?⇜)
("." . ?∘)
;; ("." . ?∘)
("<>" . ?⨂)
("msum" . ?⨁)
("\\" . )
Expand All @@ -2092,6 +2092,9 @@ Inspired by Erik Naggum's `recursive-edit-with-single-window'."
("undefined" . ?⊥)))

:config
(require 'haskell-mode)
(require 'haskell-font-lock)

(bind-key "C-c C-u" (lambda () (interactive) (insert "undefined")) haskell-mode-map)

(unbind-key "M-s" haskell-mode-map)
Expand Down
6 changes: 6 additions & 0 deletions settings.el
Expand Up @@ -596,6 +596,12 @@
'(global-undo-tree-mode t)
'(grep-find-command (quote ("ag --noheading --column --ignore branches " . 43)))
'(haskell-indent-spaces 4)
'(haskell-indentation-ifte-offset 4)
'(haskell-indentation-layout-offset 4)
'(haskell-indentation-left-offset 4)
'(haskell-indentation-starter-offset 4)
'(haskell-indentation-where-post-offset 4)
'(haskell-indentation-where-pre-offset 4)
'(helm-adaptive-history-file "~/.emacs.d/data/helm-adaptive-history")
'(helm-buffers-fuzzy-matching t)
'(helm-completing-read-handlers-alist
Expand Down

0 comments on commit a4442bd

Please sign in to comment.