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
|
* Javascript
|
||||||
* Perl
|
* Perl
|
||||||
* elisp
|
* elisp
|
||||||
|
* Go
|
||||||
|
* PHP
|
||||||
|
|
||||||
It should be trivial to add support for any language that uses braces
|
It should be trivial to add support for any language that uses braces
|
||||||
to delimit blocks. Just add to `origami-parser-alist` something like:
|
to delimit blocks. Just add to `origami-parser-alist` something like:
|
||||||
|
@ -42,6 +42,8 @@
|
|||||||
(js-mode . origami-c-style-parser)
|
(js-mode . origami-c-style-parser)
|
||||||
(js2-mode . origami-c-style-parser)
|
(js2-mode . origami-c-style-parser)
|
||||||
(js3-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)
|
(emacs-lisp-mode . origami-elisp-parser)
|
||||||
(lisp-interaction-mode . origami-elisp-parser)
|
(lisp-interaction-mode . origami-elisp-parser)
|
||||||
(clojure-mode . origami-clj-parser))
|
(clojure-mode . origami-clj-parser))
|
||||||
|
Loading…
Reference in New Issue
Block a user