summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
authorAlan Pearce2014-08-30 12:28:01 +0100
committerAlan Pearce2014-08-30 12:28:01 +0100
commit9d426dc2384cbc622b458bc4bb343db9247298ef (patch)
treeb8e392c861e6908c6c72d72ebdae3fd8ba35afc2 /tag-emacs/emacs.d/init.el
parent75ff4072d69f2a331d065d0f15770b8632cc42db (diff)
downloadnixfiles-9d426dc2384cbc622b458bc4bb343db9247298ef.tar.lz
nixfiles-9d426dc2384cbc622b458bc4bb343db9247298ef.tar.zst
nixfiles-9d426dc2384cbc622b458bc4bb343db9247298ef.zip
Emacs: Install jquery-doc
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
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