From c221bdf2fd528732926ce6737d9c9cd2da0108d1 Mon Sep 17 00:00:00 2001 From: benj Date: Fri, 4 Apr 2025 21:55:21 -0700 Subject: reorder some dap-debug configuration --- init.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index a891fe8..d892eb9 100644 --- a/init.el +++ b/init.el @@ -153,7 +153,12 @@ (use-package dap-mode :bind (("C-c d" . dap-commands)) + :pin melpa + :ensure t :config + (require 'dap-lldb) + (setq dap-lldb-debug-program '("/usr/bin/lldb-dap")) + (transient-define-prefix dap-commands () "DAP mode commands" [["Commands" @@ -175,12 +180,7 @@ ("r" "Repl window" dap-ui-repl) ("s" "Sessions window" dap-ui-sessions) ("W" "Show all windows" dap-ui-show-many-windows) - ("w" "Hide all windows" dap-ui-hide-many-windows)]]) - - :ensure t - :config - (require 'dap-lldb) - (setq dap-lldb-debug-program '("/bin/lldb-dap"))) + ("w" "Hide all windows" dap-ui-hide-many-windows)]])) (use-package emacs-lisp-mode :mode "\\.dir-locals\\.el\\'") -- cgit v1.2.3