aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md9
-rw-r--r--lisp/init-flycheck.el1
2 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4aabf92..e5ad497 100644
--- a/README.md
+++ b/README.md
@@ -8,5 +8,14 @@ Lightweight configuration of emacs with basic utilities plus personal configurat
`apt-get install markdown` or `pacman -S markdown`
+### Flycheck Mode
+- Require installed the languages checking, example:
+
+ `pacman -S shellcheck` # bash, sh
+
+ `pacman -S eslint` # ECMAScript
+
+ `pacman -S python-pylint` # python
+
### License
- [GLPv3](LICENSE)
diff --git a/lisp/init-flycheck.el b/lisp/init-flycheck.el
index a3f6c37..9e38e1d 100644
--- a/lisp/init-flycheck.el
+++ b/lisp/init-flycheck.el
@@ -1,2 +1,3 @@
(require-package 'flycheck)
+(add-hook 'after-init-hook 'global-flycheck-mode)
(provide 'init-flycheck)