summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-flycheck.el
diff options
context:
space:
mode:
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