And flycheck

This commit is contained in:
John Doty 2014-03-21 15:19:15 -07:00
parent c92b541710
commit f7f2a15cfb

View file

@ -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)