diff --git a/emacs/.emacs.d/Cask b/emacs/.emacs.d/Cask index c45f7e6..9f1b17f 100644 --- a/emacs/.emacs.d/Cask +++ b/emacs/.emacs.d/Cask @@ -40,6 +40,7 @@ (depends-on "fiplr") (depends-on "flx") (depends-on "flycheck") +(depends-on "flycheck-cask") (depends-on "flycheck-commit-check" :git "git://github.com/ryuslash/flycheck-commit-check.git") (depends-on "flycheck-pos-tip") (depends-on "fuel") diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 998bb0a..d7f3fed 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1284,6 +1284,7 @@ from myaethon2.core.decorators import ( (add-hook 'comint-mode-hook #'oni:turn-on-compilation-shell-for-pony) (add-hook 'css-mode-hook #'rainbow-mode) (add-hook 'diary-display-hook 'oni:diary-display-func) +(add-hook 'flycheck-mode-hook #'flycheck-cask-setup) (add-hook 'git-commit-mode-hook #'oni:set-ispell-local-en-dict) (add-hook 'gnus-exit-group-hook 'awesome-update-current-mailbox) (add-hook 'gnus-exit-gnus-hook 'awesome-update-current-mailbox)