aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-08-04 12:53:25 -0500
committerJesús <heckyel@hyperbola.info>2018-08-04 12:53:25 -0500
commita6556cc7581d60b6dfad4277fe0a45cf469fbb45 (patch)
treefe973ecb43455550f3011ca34277cb8ed2021bb3
parent85ba8ae6c6c53828515df63103164d60e9bb96b6 (diff)
downloademacs-personal-a6556cc7581d60b6dfad4277fe0a45cf469fbb45.tar.lz
emacs-personal-a6556cc7581d60b6dfad4277fe0a45cf469fbb45.tar.xz
emacs-personal-a6556cc7581d60b6dfad4277fe0a45cf469fbb45.zip
Automatic flycheck-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)