From 2558f44d16c8a98eace98e0754ca43375b6f1c93 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sun, 6 Dec 2015 16:26:45 +0530 Subject: [PATCH] flycheck, company-mode --- init.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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) -- 2.37.2