]> git.rkrishnan.org Git - .emacs.d.git/commitdiff
flycheck, company-mode
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 6 Dec 2015 10:56:45 +0000 (16:26 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 6 Dec 2015 10:56:45 +0000 (16:26 +0530)
init.el

diff --git a/init.el b/init.el
index e8551c0e4c87bee686b13e1bb4f09addd9fee1f9..72c06b54184d567f4d3379a71b92f60efa5d6036 100644 (file)
--- a/init.el
+++ b/init.el
@@ -40,8 +40,8 @@
 (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
@@ -61,7 +61,9 @@
                      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)