summaryrefslogtreecommitdiffstats
path: root/lisp/ravi-init-web.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ravi-init-web.el')
-rw-r--r--lisp/ravi-init-web.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/ravi-init-web.el b/lisp/ravi-init-web.el
index 06b9383..56bf7cd 100644
--- a/lisp/ravi-init-web.el
+++ b/lisp/ravi-init-web.el
@@ -53,8 +53,8 @@
(defun ravi/js2-mode-hook ()
(emmet-mode)
(setq js2-basic-offset 2)
- (when (functionp 'helm-dash)
- (setq-local dash-docs-docsets '("JavaScript" "jQuery" "jQuery UI"))))
+ (when (functionp 'helm-dash) (setq-local dash-docs-docsets '("JavaScript" "jQuery" "jQuery UI")))
+ (when (functionp 'ravi/dash) (setq-local ravi/dash-docsets '("JavaScript" "jQuery" "jQuery UI"))))
(add-hook 'js2-mode-hook 'ravi/js2-mode-hook)))
;; Interact with the browser
@@ -84,8 +84,8 @@
(sp-local-pair 'web-mode "<" nil :when '(sp-web-mode-is-code-context))
(defun ravi/web-mode-extra-hook ()
- (when (functionp 'helm-dash)
- (setq-local dash-docs-docsets '("HTML"))))
+ (when (functionp 'helm-dash) (setq-local dash-docs-docsets '("HTML")))
+ (when (functionp 'ravi/dash) (setq-local ravi/dash-docsets '("HTML"))))
(add-hook 'web-mode-hook 'ravi/web-mode-extra-hook)
;; Customization
@@ -96,8 +96,8 @@
(setq web-mode-enable-part-face t)))
(defun ravi/css-mode-extra-hook ()
- (when (functionp 'helm-dash)
- (setq-local dash-docs-docsets '("CSS"))))
+ (when (functionp 'helm-dash) (setq-local dash-docs-docsets '("CSS")))
+ (when (functionp 'ravi/dash) (setq-local ravi/dash-docsets '("CSS"))))
(add-hook 'css-mode-hook 'ravi/css-mode-extra-hook)
(provide 'ravi-init-web)