From 9d426dc2384cbc622b458bc4bb343db9247298ef Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 30 Aug 2014 12:28:01 +0100 Subject: Emacs: Install jquery-doc --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.el | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index f8ed11fb..d4b9c525 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -44,6 +44,7 @@ (depends-on "help-fns+") (depends-on "hemisu-theme") (depends-on "jinja2-mode") +(depends-on "jquery-doc") (depends-on "js2-mode") (depends-on "leuven-theme") (depends-on "litable") diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index e7d63545..8e2d0127 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1246,6 +1246,11 @@ mouse-1: Display Line and Column Mode Menu")))))) (setq js2-basic-offset 4 js2-global-externs '("$")))) +(req-package jquery-doc + :defer t + :init (progn + (add-hook 'js2-mode-hook #'jquery-doc-setup))) + (req-package scss-mode :defer t :config (progn -- cgit 1.4.1