From 3bf876f44ea468f8433935e3e957932ad2151d80 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 18 Jul 2017 11:57:51 +0200 Subject: [PATCH] Add documentation to :jump setting --- modules/feature/jump/config.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/feature/jump/config.el b/modules/feature/jump/config.el index c868d0f92..e274c0070 100644 --- a/modules/feature/jump/config.el +++ b/modules/feature/jump/config.el @@ -29,7 +29,18 @@ produces an url. Used by `+jump/online'.") "TODO") (def-setting! :jump (modes &rest plist) - "TODO" + "Definies a jump target for major MODES. PLIST accepts the following +properties: + + :definition FN + Run when jumping to a symbol's definition. + Used by `+jump/definition'. + :references FN + Run when looking for usage references of a symbol in the current project. + Used by `+jump/references'. + :documentation FN + Run when looking up documentation for a symbol. + Used by `+jump/documentation'." `(dolist (mode (doom-enlist ,modes)) (push (cons mode (list ,@plist)) +jump-function-alist)))