From: Ramakrishnan Muthukrishnan Date: Sun, 6 Dec 2015 10:56:45 +0000 (+0530) Subject: flycheck, company-mode X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/priv/prod.html?a=commitdiff_plain;h=2558f44d16c8a98eace98e0754ca43375b6f1c93;p=.emacs.d.git flycheck, company-mode --- diff --git a/init.el b/init.el index e8551c0..72c06b5 100644 --- 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)) @@ -219,9 +221,8 @@ ;; 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)