Skip to content

Commit

Permalink
Small inline documentation improvment
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Nov 16, 2024
1 parent 32437c0 commit 8f24880
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -5140,16 +5140,16 @@ nil."
(setq args (nreverse args)
args-bounds (nreverse args-bounds))
(cond
;; Complete config key
;; Complete key
((<= (point) key-end)
(pcase-let ((`(,start . ,end)
(or (bounds-of-thing-at-point 'symbol)
(cons (point) (point)))))
(list start end
(mapcar (lambda (suggestion) (format "%s " suggestion))
dape--minibuffer-suggestions))))
;; Complete config args
((and (not (plist-member args '-))
;; Complete args
((and (not (plist-member args '-)) ;; Skip zap/dash notation
(alist-get key dape-configs)
(or (and (plistp args)
(thing-at-point 'whitespace))
Expand Down

0 comments on commit 8f24880

Please sign in to comment.