mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Update modules/feature/debug
This commit is contained in:
@ -19,7 +19,7 @@
|
|||||||
(cond ((memq major-mode '(c-mode c++-mode))
|
(cond ((memq major-mode '(c-mode c++-mode))
|
||||||
(realgud:gdb (if path (concat "gdb " path))))
|
(realgud:gdb (if path (concat "gdb " path))))
|
||||||
((memq major-mode '(ruby-mode enh-ruby-mode))
|
((memq major-mode '(ruby-mode enh-ruby-mode))
|
||||||
(doom:repl nil (format "run '%s'" (f-filename (or path buffer-file-name)))))
|
(doom:repl nil (format "run '%s'" (file-name-nondirectory (or path buffer-file-name)))))
|
||||||
((eq major-mode 'sh-mode)
|
((eq major-mode 'sh-mode)
|
||||||
(let ((shell sh-shell))
|
(let ((shell sh-shell))
|
||||||
(when (string= shell "sh")
|
(when (string= shell "sh")
|
||||||
|
Reference in New Issue
Block a user