aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/init-flycheck.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-01-22 15:45:41 -0500
committerJesús <heckyel@hyperbola.info>2019-01-22 15:45:41 -0500
commitced0fe8f9ef7cd16ade900bb34393c627f6d0c69 (patch)
tree350d3a0cbb87b12a36c0dc12537c56a75a2668ae /lisp/init-flycheck.el
parentd0f44d85466d7211d54e30970f29815842ff4180 (diff)
downloademacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.lz
emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.xz
emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.zip
Change directory lisp/ to modules/
FS #2
Diffstat (limited to 'lisp/init-flycheck.el')
-rw-r--r--lisp/init-flycheck.el26
1 files changed, 0 insertions, 26 deletions
diff --git a/lisp/init-flycheck.el b/lisp/init-flycheck.el
deleted file mode 100644
index aa513c5..0000000
--- a/lisp/init-flycheck.el
+++ /dev/null
@@ -1,26 +0,0 @@
-(use-package flycheck
- ;; Enable for only languages
- :init
- ;; (add-hook 'after-init-hook 'global-flycheck-mode)
- (add-hook 'c++-mode-hook 'flycheck-mode)
- ;; (add-hook 'emacs-lisp-mode-hook 'flycheck-mode)
- (add-hook 'html-mode-hook 'flycheck-mode)
- (add-hook 'js-mode-hook 'flycheck-mode)
- (add-hook 'web-mode-hook 'flycheck-mode)
- (add-hook 'sh-mode-hook 'flycheck-mode)
- :config
- ;; support web-mode with PHP
- (flycheck-define-checker mix-php
- "A PHP syntax checker using the PHP command line interpreter.
- See URL `https://php.net/manual/en/features.commandline.php'."
- :command ("php" "-l" "-d" "error_reporting=E_ALL" "-d" "display_errors=1"
- "-d" "log_errors=0" source)
- :error-patterns
- ((error line-start (or "Parse" "Fatal" "syntax") " error" (any ":" ",") " "
- (message) " in " (file-name) " on line " line line-end))
- :modes (php-mode php+-mode web-mode))
-
- (add-to-list 'flycheck-checkers 'mix-php)
- )
-
-(provide 'init-flycheck)