Add out of the box support for js

This commit is contained in:
Greg Sexton 2014-11-22 21:57:01 +00:00
parent 1cc58ab689
commit 4c7846a01a
2 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,7 @@ Probably not. Currently out of the box support is provided for:
* C++ * C++
* Clojure * Clojure
* Java * Java
* Javascript
* Perl * Perl
* elisp * elisp

View File

@ -36,7 +36,11 @@
'((java-mode . origami-c-style-parser) '((java-mode . origami-c-style-parser)
(c-mode . origami-c-style-parser) (c-mode . origami-c-style-parser)
(c++-mode . origami-c-style-parser) (c++-mode . origami-c-style-parser)
(perl-mode . origami-c-style-parser)
(cperl-mode . origami-c-style-parser) (cperl-mode . origami-c-style-parser)
(js-mode . origami-c-style-parser)
(js2-mode . origami-c-style-parser)
(js3-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))