-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable cider-jack-in on tramp buffers #489
Enable cider-jack-in on tramp buffers #489
Conversation
That's a very neat feature! I'll have to take a closer look at the code, but after taking a quick glance I noticed that you don't check for the presence of |
|
||
(defun nrepl--run-on-connection (dir port) | ||
"Run any nrepl-on-connection-function for DIR and PORT. | ||
Return a plist with :hostname and :port values, specifying |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the leading whitespace.
P.S. You'll also have to rebase on top of the current master. |
@hugoduncan Ping |
When using cider-jack-in in a tramp source buffer, starts a remote nrepl server, and connects to it. By default, sets up an ssh tunnel to the remote port. This can be controlled using nrepl-connection-endpoint, which defaults to nrepl-connection-ssh-tunnel.
Renamed to |
Enable cider-jack-in on tramp buffers
Thanks! |
The update broke the ability to do |
When using cider-jack-in in a tramp source buffer, starts a remote nrepl
server, and connects to it. By default, sets up an ssh tunnel to the
remote port. This can be controlled using
nrepl-on-connection-function
, which defaults tonrepl-connection-ssh-tunnel
.