Bind flycheck as flymake.

This commit is contained in:
Julien Palard 2017-05-11 10:26:17 +02:00
parent 0a1984ca96
commit 79629b9ef1
1 changed files with 2 additions and 0 deletions

2
.emacs
View File

@ -171,6 +171,8 @@
(add-hook 'after-init-hook #'global-flycheck-mode)
(require 'flycheck)
(define-key flycheck-mode-map (kbd "<f8>") 'flycheck-previous-error)
(define-key flycheck-mode-map (kbd "<f9>") 'flycheck-next-error)
(flycheck-add-next-checker 'python-flake8 'python-pylint)
(setq flycheck-phpcs-standard "/home/julien/www/shape/config/static/phpcs_shape_ruleset.xml")
(setq flycheck-phpmd-rulesets "/home/julien/www/shape/config/static/phpmd_shape_ruleset.xml")