Update for use-package 2.0

This commit is contained in:
Henrik Lissner
2015-03-17 02:35:59 -04:00
parent e0923b2d9c
commit ee2a3380e7
7 changed files with 63 additions and 67 deletions

View File

@@ -1,16 +1,16 @@
(use-package flycheck
:defer t
:pre-load
(setq-default flycheck-indication-mode 'right-fringe
;; Removed checks on idle/change for snappiness
flycheck-check-syntax-automatically '(save mode-enabled)
flycheck-disabled-checkers '(emacs-lisp-checkdoc emacs-lisp make))
:init
(dolist (hook '(ruby-mode-hook
python-mode-hook
shell-mode-hook
))
(add-hook hook 'flycheck-mode))
(progn
(setq-default flycheck-indication-mode 'right-fringe
;; Removed checks on idle/change for snappiness
flycheck-check-syntax-automatically '(save mode-enabled)
flycheck-disabled-checkers '(emacs-lisp-checkdoc emacs-lisp make))
(dolist (hook '(ruby-mode-hook
python-mode-hook
shell-mode-hook
))
(add-hook hook 'flycheck-mode)))
:config
(progn ; flycheck settings
(my--cleanup-buffers-add "^\\*Flycheck.*\\*$")