Move flycheck init hooks into lang modules

This commit is contained in:
Henrik Lissner 2015-09-28 05:51:46 -04:00
parent 21648b863e
commit a8af7a8df8
8 changed files with 9 additions and 17 deletions

View file

@ -3,7 +3,8 @@
(use-package go-mode
:mode "\\.go$"
:interpreter "go"
:init (add-hook! go-mode 'emr-initialize)
:init
(add-hook! go-mode '(emr-initialize flycheck-mode))
:config
(bind! :map go-mode-map
:n "gd" 'godef-jump