aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-17 21:42:45 +0800
committerGuangxiong Lin <[email protected]>2022-03-17 21:42:45 +0800
commit154333e23bbbaf45ee384bc7da32eb63f7f14e3b (patch)
tree8a7aea5231a3681094cdb2572a9228dd68e7d9d0
parent7cec4a29e17865f93cd06eccf9d5ad87165ac198 (diff)
downloaddotfiles-154333e23bbbaf45ee384bc7da32eb63f7f14e3b.tar.gz
dotfiles-154333e23bbbaf45ee384bc7da32eb63f7f14e3b.tar.bz2
dotfiles-154333e23bbbaf45ee384bc7da32eb63f7f14e3b.zip
Add flycheck (emacs)
-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)