mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix dap-debug-template-conf.. void-variable
The variable changed name in emacs-lsp/dap-mode@7768e145be
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
(bound-and-true-p lsp--buffer-deferred)
|
||||
(require 'dap-mode nil t)
|
||||
dap-mode)
|
||||
(mapcar #'car dap--debug-template-configurations)))
|
||||
(mapcar #'car dap-debug-template-configurations)))
|
||||
|
||||
(defun +debugger-list-for-realgud ()
|
||||
(cl-loop for (sym . plist) in +debugger--realgud-alist
|
||||
@ -49,7 +49,7 @@ for what debugger to use. If the prefix ARG is set, prompt anyway."
|
||||
(unless (fboundp debugger)
|
||||
(user-error "Couldn't find debugger backend %S" debugger))
|
||||
(setq-local +debugger--last debugger)
|
||||
(if (assoc debugger dap--debug-template-configurations)
|
||||
(if (assoc debugger dap-debug-template-configurations)
|
||||
(dap-debug debugger)
|
||||
(call-interactively debugger)))
|
||||
(+debugger/start-last)))
|
||||
|
Reference in New Issue
Block a user