branch: externals/dape
commit bb688ed8218e538e11d5b869bf32682511398be1
Author: skittishdev <42278215+skittish...@users.noreply.github.com>
Commit: GitHub <nore...@github.com>

    lldb-vscode is now called lldb-dap (#111)
    
    * lldb-vscode is now called lldb-dap
    
    * Update dape.el
    
    Add back lldb-vscode for backwards compatibility
    
    * Update dape.el
    
    Update `lldb-dap` and `lldb-vscode` as suggested
    
    Copyright-paperwork-exempt: yes
---
 dape.el | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/dape.el b/dape.el
index 8977ca1169..d67d57b5c7 100644
--- a/dape.el
+++ b/dape.el
@@ -258,14 +258,20 @@
            :type "pwa-chrome"
            :url "http://localhost:3000";
            :webRoot dape-cwd)))
-    (lldb-vscode
-     modes (c-mode c-ts-mode c++-mode c++-ts-mode rust-mode rust-ts-mode)
-     ensure dape-ensure-command
-     command-cwd dape-command-cwd
-     command "lldb-vscode"
-     :type "lldb-vscode"
-     :cwd "."
-     :program "a.out")
+    ,@(let ((lldb-common
+             `(modes (c-mode c-ts-mode c++-mode c++-ts-mode rust-mode 
rust-ts-mode rustic-mode)
+               ensure dape-ensure-command
+               command-cwd dape-command-cwd
+               :cwd "."
+               :program "a.out")))
+        `((lldb-vscode
+           command "lldb-vscode"
+           :type "lldb-vscode"
+           ,@lldb-common)
+          (lldb-dap
+           command "lldb-dap"
+           :type "lldb-dap"
+           ,@lldb-common)))
     (netcoredbg
      modes (csharp-mode csharp-ts-mode)
      ensure dape-ensure-command

Reply via email to