Skip to content

Commit

Permalink
tweak(realgud): define commands
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 16, 2023
1 parent 689a1da commit 920ab8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/extras/me-realgud.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
((or 'c-mode 'c++-mode 'c-ts-mode c++-ts-mode)
(realgud:gdb (if path (concat "gdb " path))))
((or 'rust-mode 'rust-ts-mode)
(realgud--lldb (if path (concat "gdb " path))))
(lldb (if path (concat "lldb " path))))
((or 'js-mode 'js2-mode 'js3-mode 'typescript-mode 'js-ts-mode 'typescript-ts-mode)
(realgud:trepanjs))
((or 'sh-mode 'bash-ts-mode)
Expand Down
8 changes: 6 additions & 2 deletions modules/me-debug.el
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,14 @@
"rh" #'+realgud-hydra/body))

(use-package realgud-lldb
:straight t)
:straight t
:init
(defalias 'realgud:lldb #'realgud--lldb)
:commands (realgud--lldb realgud:lldb lldb))

(use-package realgud-ipdb
:straight t)
:straight t
:commands (ipdb realgud:ipdb))

(use-package disaster
:straight t
Expand Down

0 comments on commit 920ab8d

Please sign in to comment.