Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

miscellaneous tweaks

  • Loading branch information...
commit d2e29467b898c5ffdde452fda04b35be163ece2d 1 parent 39951d1
@tavisrudd authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 dss-haskell.el
View
6 dss-haskell.el
@@ -39,6 +39,9 @@
(region-beginning) (region-end)
"\\(\\s-*\\) = " 1 0 nil))
+(require 'auto-complete-etags)
+(require 'auto-complete-extension)
+
(defun dss/haskell-init-ac ()
(interactive)
(setq ac-sources
@@ -55,9 +58,11 @@
(defun dss/haskell-mode-hook ()
(interactive)
+ (ghc-init)
(scion-mode 1)
(scion-flycheck-on-save 1)
(linum-mode 1)
+ (auto-complete-mode 1)
(require 'inf-haskell)
(define-key haskell-mode-map (kbd "M-.") 'dss/haskell-goto-definition)
@@ -66,7 +71,6 @@
(dss/map-define-key inferior-haskell-mode-map '("\"" "`" "(" "[" "{") 'dss/haskell-electric-pair)
(define-key haskell-mode-map (kbd "C-c =") 'dss/haskell-align-equals)
(define-key haskell-mode-map (kbd "M-=") 'haskell-indent-align-guards-and-rhs)
- (ghc-init)
(flymake-mode)
(dss/install-whitespace-cleanup-hook)
(dss/load-lineker-mode)
Please sign in to comment.
Something went wrong with that request. Please try again.