Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable js2 imenu

  • Loading branch information...
commit 0dadafc46f4ee76f93716bf91ffe1fe386ced3c2 1 parent bf7107a
Steve Purcell authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  init-javascript.el
2  init-javascript.el
View
@@ -32,6 +32,8 @@
js2-auto-indent-p t
js2-bounce-indent-p nil)
+(eval-after-load 'js2-mode '(js2-imenu-extras-setup))
+
;; js3-mode
(add-hook 'js3-mode-hook '(lambda () (setq mode-name "JS3")))
(setq js3-auto-indent-p t
Please sign in to comment.
Something went wrong with that request. Please try again.