Changeset 74bc208 in dotfiles
- Timestamp:
- Nov 14, 2022, 5:13:58 PM (2 years ago)
- Branches:
- master
- Children:
- 86d2deb
- Parents:
- a649060
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs.d/.emacs-config.org
ra649060 r74bc208 591 591 *** Flycheck 592 592 #+BEGIN_SRC emacs-lisp :tangle init.el 593 (require 'psalm)593 ;; (require 'psalm) 594 594 595 595 (when (package-loaded? "flycheck") … … 607 607 608 608 (flycheck-define-checker php-phanclient 609 "Phan" 609 610 :command ("phan_client" "-l" source-original "-f" source) 610 611 :error-patterns 611 612 ((warning line-start (or "Parse" "Fatal" "syntax" "Phan") " error" (any ":" ",") " " (message) " in " (file-name) " on line " line line-end)) 612 613 :modes (php-mode php+-mode)) 614 615 (add-to-list 'flycheck-checkers 'php-phanclient) 616 613 617 (flycheck-add-next-checker 'php '(warning . php-phanclient)) 614 615 (add-to-list 'flycheck-checkers 'php-phanclient)616 617 618 618 619 (add-hook 'prog-mode-hook 'flycheck-mode))
Note:
See TracChangeset
for help on using the changeset viewer.