Add go and php to parsers alist
This commit is contained in:
parent
27b28c8e16
commit
e81d69ad8e
@ -150,6 +150,8 @@ Probably not. Currently out of the box support is provided for:
|
||||
* Javascript
|
||||
* Perl
|
||||
* elisp
|
||||
* Go
|
||||
* PHP
|
||||
|
||||
It should be trivial to add support for any language that uses braces
|
||||
to delimit blocks. Just add to `origami-parser-alist` something like:
|
||||
|
@ -42,6 +42,8 @@
|
||||
(js-mode . origami-c-style-parser)
|
||||
(js2-mode . origami-c-style-parser)
|
||||
(js3-mode . origami-c-style-parser)
|
||||
(go-mode . origami-c-style-parser)
|
||||
(php-mode . origami-c-style-parser)
|
||||
(emacs-lisp-mode . origami-elisp-parser)
|
||||
(lisp-interaction-mode . origami-elisp-parser)
|
||||
(clojure-mode . origami-clj-parser))
|
||||
|
Loading…
Reference in New Issue
Block a user