[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 6def976339 8/8: Fix bug in ruby config
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 6def976339 8/8: Fix bug in ruby config |
Date: |
Thu, 14 Dec 2023 15:57:41 -0500 (EST) |
branch: externals/dape
commit 6def976339f965933b9795369323118fbe91d4a0
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Fix bug in ruby config
---
dape.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/dape.el b/dape.el
index fd9a8cf215..083548ab78 100644
--- a/dape.el
+++ b/dape.el
@@ -206,23 +206,24 @@
modes (ruby-mode ruby-ts-mode)
ensure dape-ensure-command
command "rdbg"
- command-args ("-O" "--host" "0.0.0.0" "--port" :autoport "--")
+ command-args ("-O" "--host" "0.0.0.0" "--port" :autoport "-c" "--" :-c)
command-cwd (lambda () (funcall dape-cwd-fn t))
fn ((lambda (config)
(plist-put config 'command-args
- (append
- (plist-get config 'command-args)
- (list (plist-get config '--)))))
+ (mapcar (lambda (arg)
+ (if (eq arg :-c)
+ (plist-get config '-c)
+ arg))
+ (plist-get config 'command-args))))
dape-config-autoport
dape-config-tramp)
port :autoport
:type "Ruby"
;; -- examples:
- ;; target.rb
;; rails server
;; bundle exec ruby foo.rb
;; bundle exec rake test
- -- (lambda () (read-string "Invoke ruby command: "))))
+ -c (lambda () (read-string "Invoke command: "))))
"This variable holds the Dape configurations as an alist.
In this alist, the car element serves as a symbol identifying each
configuration. Each configuration, in turn, is a property list (plist)
- [elpa] externals/dape updated (8e855d804f -> 6def976339), ELPA Syncer, 2023/12/14
- [elpa] externals/dape aa8fa4670c 2/8: Add rdbg configuration, ELPA Syncer, 2023/12/14
- [elpa] externals/dape 020e4cbf93 3/8: Rework auto port, ELPA Syncer, 2023/12/14
- [elpa] externals/dape 66fb9d7e19 1/8: Extend 'fn to take lists of functions as well, ELPA Syncer, 2023/12/14
- [elpa] externals/dape f9271ca949 6/8: Simplify info breakpoint buffer goto breakpoint, ELPA Syncer, 2023/12/14
- [elpa] externals/dape d4bba35d1c 7/8: Add tramp support for tcp connections, ELPA Syncer, 2023/12/14
- [elpa] externals/dape e336f05aa0 4/8: Use seq defaults if adapter sends event before setup, ELPA Syncer, 2023/12/14
- [elpa] externals/dape 6def976339 8/8: Fix bug in ruby config,
ELPA Syncer <=
- [elpa] externals/dape 54aa83ae05 5/8: Fix issue where continue is executed with no stopped threads, ELPA Syncer, 2023/12/14