From f7f2a15cfbe0779722363984beb258f10b29da81 Mon Sep 17 00:00:00 2001 From: John Doty Date: Fri, 21 Mar 2014 15:19:15 -0700 Subject: [PATCH] And flycheck --- .emacs.d/init.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 7726334..545eff4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -134,7 +134,9 @@ go-mode ; Go programming language mode filladapt ; Adaptive fills flyspell ; Spell-checking + flymake ; Compiling + flycheck ; Checking go-autocomplete ; Autocomplete for golang popup ; Pretty completions? @@ -601,18 +603,14 @@ ;; ================================================================= ;; Go (#golang) Mode -;; -;; Note that apparently go-mode is too special for the standard -;; autoload/add-to-list stuff. Good for it! ;; ================================================================= -;;(require 'go-autocomplete) -;;(require 'auto-complete-config) (require 'go-mode) (require 'go-autocomplete) (require 'auto-complete-config) (defun my-go-mode-hook () + (flycheck-mode) (auto-complete-mode)) (add-hook 'go-mode-hook 'my-go-mode-hook)