forked from colonelpanic/dotfiles
No flycheck again.
This commit is contained in:
parent
f34b565938
commit
ef84ab9b2f
@ -25,6 +25,7 @@
|
|||||||
undo-redo
|
undo-redo
|
||||||
universal-argument-minus
|
universal-argument-minus
|
||||||
wdired-finish-edit
|
wdired-finish-edit
|
||||||
|
yas-expand
|
||||||
))
|
))
|
||||||
|
|
||||||
(setq mc/cmds-to-run-once
|
(setq mc/cmds-to-run-once
|
||||||
|
@ -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)))
|
(let ((ace-jump-mode-scope (if prefix 'global 'window)))
|
||||||
(ace-jump-mode 0)))))
|
(ace-jump-mode 0)))))
|
||||||
|
|
||||||
;; (use-package flycheck
|
(use-package flycheck
|
||||||
;; :ensure t
|
:ensure t
|
||||||
;; :init (global-flycheck-mode)
|
:disabled t
|
||||||
;; :diminish flycheck-mode)
|
: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
|
(use-package haskell-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
|
Loading…
Reference in New Issue
Block a user