From 154333e23bbbaf45ee384bc7da32eb63f7f14e3b Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 17 Mar 2022 21:42:45 +0800 Subject: Add flycheck (emacs) --- .emacs.d/init.el | 1 + .emacs.d/lisp/init-flycheck.el | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 .emacs.d/lisp/init-flycheck.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 66a37cc..e711f30 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -22,6 +22,7 @@ (require 'init-evil) (require 'init-ivy) (require 'init-company) +(require 'init-flycheck) (require 'init-org) (require 'init-lang) (require 'init-filetype) diff --git a/.emacs.d/lisp/init-flycheck.el b/.emacs.d/lisp/init-flycheck.el new file mode 100644 index 0000000..b2fc7e2 --- /dev/null +++ b/.emacs.d/lisp/init-flycheck.el @@ -0,0 +1,8 @@ +;; not very good in elisp (too noisy) +;; decide when to toggle it later +(gx/maybe-require-package 'flycheck) + +(with-eval-after-load 'flycheck + (gx/diminish 'flycheck-mode)) + +(provide 'init-flycheck) -- cgit v1.2.3