branch: externals/dape
commit df0c2d8357b9e6dfb4f39da4fadac51cc261dc56
Author: Daniel Pettersson <[email protected]>
Commit: Daniel Pettersson <[email protected]>
Require success to launch/attach after initialize
---
dape.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dape.el b/dape.el
index de75098cbb..2fb58fa3b3 100644
--- a/dape.el
+++ b/dape.el
@@ -519,7 +519,8 @@ The hook is run with one argument, the compilation buffer."
)
(dape--callback
(setq dape--capabilities body)
- (dape--launch-or-attach process))))
+ (when success
+ (dape--launch-or-attach process)))))
(defun dape--launch-or-attach (process)
(if-let ((request (plist-get dape--config :request)))