aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el1
-rw-r--r--.emacs.d/lisp/init-flycheck.el8
2 files changed, 9 insertions, 0 deletions
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)