Update modules/feature/debug
This commit is contained in:
parent
35ae1965a7
commit
83ff080718
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue