def-docset
This commit is contained in:
parent
99e2e4c5ea
commit
ec9c12e17e
20 changed files with 42 additions and 21 deletions
|
@ -75,12 +75,10 @@
|
|||
|
||||
(use-package helm-dash
|
||||
:when (not IS-WINDOWS)
|
||||
:commands (helm-dash helm-dash-at-point helm-dash-install-docset def-docset!)
|
||||
:commands (helm-dash helm-dash-at-point helm-dash-install-docset)
|
||||
:config
|
||||
(setq helm-dash-browser-func 'doom/dash-open
|
||||
helm-dash-candidate-format "%d → %n (%t)")
|
||||
(defmacro def-docset! (mode docsets)
|
||||
`(add-hook! ,mode (setq-local helm-dash-docsets ',docsets))))
|
||||
helm-dash-candidate-format "%d → %n (%t)"))
|
||||
|
||||
(use-package helm-tags
|
||||
:commands (helm-tags-get-tag-file helm-etags-select))
|
||||
|
|
8
core/defuns/macros-dash.el
Normal file
8
core/defuns/macros-dash.el
Normal file
|
@ -0,0 +1,8 @@
|
|||
;;; macros-dash.el
|
||||
|
||||
;;;###autoload
|
||||
(defmacro def-docset! (mode docsets)
|
||||
`(add-hook! ,mode (setq-local helm-dash-docsets ',docsets)))
|
||||
|
||||
(provide 'macros-dash)
|
||||
;;; macros-dash.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue