summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2025-04-04 21:55:21 -0700
committerbenj <benj@rse8.com>2025-04-04 21:55:21 -0700
commitc221bdf2fd528732926ce6737d9c9cd2da0108d1 (patch)
tree6b4ddb0b08e5b873c253335bffd208b04bfdc827
parent42a7e532de319f1eb8132db1837f77638507e331 (diff)
downloademacs-c221bdf2fd528732926ce6737d9c9cd2da0108d1.tar
emacs-c221bdf2fd528732926ce6737d9c9cd2da0108d1.tar.gz
emacs-c221bdf2fd528732926ce6737d9c9cd2da0108d1.tar.bz2
emacs-c221bdf2fd528732926ce6737d9c9cd2da0108d1.tar.lz
emacs-c221bdf2fd528732926ce6737d9c9cd2da0108d1.tar.xz
emacs-c221bdf2fd528732926ce6737d9c9cd2da0108d1.tar.zst
emacs-c221bdf2fd528732926ce6737d9c9cd2da0108d1.zip
reorder some dap-debug configuration
Diffstat (limited to '')
-rw-r--r--init.el12
1 files 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\\'")