branch: externals/dape
commit 7f2539817ecba285dad0824f8c9275065daf6143
Author: Daniel Pettersson <dan...@dpettersson.net>
Commit: Daniel Pettersson <dan...@dpettersson.net>

    Fix missing spec detail in capabilities event
    
    Fixes #191
---
 dape.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index a07bf7c47f..96274ee0b5 100644
--- a/dape.el
+++ b/dape.el
@@ -1986,7 +1986,9 @@ Starts a new adapter connection as per request of the 
debug adapter."
 (cl-defmethod dape-handle-event (conn (_event (eql capabilities)) body)
   "Handle adapter CONNs capabilities events.
 BODY is an plist of adapter capabilities."
-  (setf (dape--capabilities conn) (plist-get body :capabilities))
+  (setf (dape--capabilities conn)
+        ;; Only changed capabilities needs to be included in body
+        (append (plist-get body :capabilities) (dape--capabilities conn)))
   (dape--configure-exceptions conn))
 
 (cl-defmethod dape-handle-event (conn (_event (eql breakpoint)) body)

Reply via email to