(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
-(add-to-list 'package-archives
- '("marmalade" . "http://marmalade-repo.org/packages/") t)
+;; (add-to-list 'package-archives
+;; '("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
; fetch the list of packages available
notmuch
railscasts-theme
racket-mode
- auto-complete
+ company-mode
+ flycheck
+ flycheck-haskell
magit
ledger-mode))
;; If there is more than one, they won't work right.
)
-;; auto complete
-(ac-config-default)
-(ac-linum-workaround)
+;; company mode for auto completion
+(add-hook 'after-init-hook 'global-company-mode)
;; highlight todo
;; (add-hook 'prog-mode-hook 'highlight-todos)