summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el5
2 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index f8ed11f..d4b9c52 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 e7d6354..8e2d012 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