Skip to content

Commit ab4fddf

Browse files
committed
Update README
1 parent 89c5bca commit ab4fddf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.org

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ Add ob-phpstan.el to your load-path and require.
2323
#+end_src
2424

2525
** Configure
26+
27+
add phpstan-mode:
28+
#+begin_src emacs-lisp
29+
(define-derived-mode phpstan-mode php-mode "phpstan")
30+
#+end_src
31+
32+
add org-src-lang-modes:
2633
#+begin_src emacs-lisp
2734
(eval-after-load "org" '(add-to-list 'org-src-lang-modes '("phpstan" . phpstan)))
2835
#+end_src

0 commit comments

Comments
 (0)