summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-flycheck.el
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2017-12-13 08:10:18 +0800
committerSteve Lee <me@xiangyangli.com>2017-12-13 08:10:18 +0800
commitc30554da3886e39470fcd2c69114043a37c75a52 (patch)
treeaef4c51f23e432b3f8054bc1af9b56668f4e2e5e /.emacs.d/lisp/init-flycheck.el
parentf307bb8721e23ecaf6347a1766fe02e764120bc4 (diff)
downloaddotfiles-c30554da3886e39470fcd2c69114043a37c75a52.tar.xz
dotfiles-c30554da3886e39470fcd2c69114043a37c75a52.zip
add some configuration
Diffstat (limited to '.emacs.d/lisp/init-flycheck.el')
-rw-r--r--.emacs.d/lisp/init-flycheck.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-flycheck.el b/.emacs.d/lisp/init-flycheck.el
new file mode 100644
index 0000000..d124711
--- /dev/null
+++ b/.emacs.d/lisp/init-flycheck.el
@@ -0,0 +1,13 @@
+;;; flycheck --- All flycheck configuration
+
+;;; Commentary:
+
+;;; Code:
+
+(package-install 'flycheck)
+
+(global-flycheck-mode)
+(setq flycheck-check-syntax-automatically '(mode-enabled save))
+
+(provide 'init-flycheck)
+;;; init-flycheck ends here