No flycheck again.

This commit is contained in:
Ivan Malison 2015-01-23 13:43:59 -08:00
parent f34b565938
commit ef84ab9b2f
2 changed files with 21 additions and 4 deletions

View File

@ -25,6 +25,7 @@
undo-redo
universal-argument-minus
wdired-finish-edit
yas-expand
))
(setq mc/cmds-to-run-once

View File

@ -441,10 +441,26 @@ The current directory is assumed to be the project's root otherwise."
(let ((ace-jump-mode-scope (if prefix 'global 'window)))
(ace-jump-mode 0)))))
;; (use-package flycheck
;; :ensure t
;; :init (global-flycheck-mode)
;; :diminish flycheck-mode)
(use-package flycheck
:ensure t
:disabled t
:config
(progn
(setq failing-checkers (cl-loop for checker being the elements of flycheck-checkers
if (condition-case nil
(flycheck-may-use-checker checker)
('error
(message "checker named '%s' failed" checker)
checker
) nil)
collect checker))
(add-to-list 'failing-checkers 'emacs-lisp)
(add-to-list 'failing-checkers 'emacs-lisp-checkdoc)
(cl-loop for checker in failing-checkers do
(setq flycheck-checkers (delq checker flycheck-checkers))
(flycheck-disable-checker checker))
(global-flycheck-mode))
:diminish flycheck-mode)
(use-package haskell-mode
:ensure t