diff --git a/README.md b/README.md index f5752fe..2218f50 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ Probably not. Currently out of the box support is provided for: * C++ * Clojure * Java +* Javascript * Perl * elisp diff --git a/origami-parsers.el b/origami-parsers.el index 35b5ded..899fee9 100644 --- a/origami-parsers.el +++ b/origami-parsers.el @@ -36,7 +36,11 @@ '((java-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) + (js-mode . origami-c-style-parser) + (js2-mode . origami-c-style-parser) + (js3-mode . origami-c-style-parser) (emacs-lisp-mode . origami-elisp-parser) (lisp-interaction-mode . origami-elisp-parser) (clojure-mode . origami-clj-parser))