Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Dec 12, 2014
1 parent b555ba6 commit eb1eeb4
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions haskell-config.el
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,6 @@ See URL `https://github.com/bitc/hdevtools'."

;; (add-to-list 'load-path (ghc-mod-site-lisp)))

(auto-complete-mode 1)
(whitespace-mode 1)
(bug-reference-prog-mode 1)
;; (flyparse-mode 1)
Expand All @@ -544,8 +543,10 @@ See URL `https://github.com/bitc/hdevtools'."

;; (add-hook 'after-save-hook 'check-parens nil t)

(require 'company)
(ghc-init)
(flymake-mode -1)
(add-to-list 'company-backends 'company-ghc)
(company-mode)

(defalias 'ghc-save-buffer 'save-buffer)

Expand All @@ -557,14 +558,14 @@ See URL `https://github.com/bitc/hdevtools'."
;; (smartparens-strict-mode 1)
;; (show-smartparens-mode 1)

(setq sp-pair-list
'(("\\\"" . "\\\"")
("{-" . "-}")
("\"" . "\"")
("(" . ")")
("[" . "]")
("{" . "}")
("`" . "`")))
;; (setq sp-pair-list
;; '(("\\\"" . "\\\"")
;; ("{-" . "-}")
;; ("\"" . "\"")
;; ("(" . ")")
;; ("[" . "]")
;; ("{" . "}")
;; ("`" . "`")))

;; (let ((this-directory default-directory))
;; (while (not (string= this-directory ""))
Expand Down Expand Up @@ -724,7 +725,8 @@ See URL `https://github.com/bitc/hdevtools'."
(bind-key "C-M-x" 'inferior-haskell-send-decl haskell-mode-map)
(unbind-key "C-x C-d" haskell-mode-map)

(haskell-chris))
;; (haskell-chris)
)

(use-package haskell-cabal
:mode ("\\.cabal\\'" . haskell-cabal-mode))
Expand Down

0 comments on commit eb1eeb4

Please sign in to comment.