Skip to content
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

Pass options to DistantLaunch #31

Closed
augustebaum opened this issue Sep 14, 2021 · 2 comments
Closed

Pass options to DistantLaunch #31

augustebaum opened this issue Sep 14, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@augustebaum
Copy link

augustebaum commented Sep 14, 2021

Something like :DistantLaunch example.com -u user, which I need to log into my remote machine. The shell command does this, so why not the wrapper? Or maybe I've missed something?

@chipsenkbeil
Copy link
Owner

@augustebaum thought I had configured it to support this, but turns out it wasn't set up correctly for DistantLaunch.

Fixed with 3d8a6a4 where you can now run :DistantLaunch example.com username=user. You have to provide the full argument name (not the shorthand) to do this.

Alternatively, you can always call :lua require('distant').editor.launch(...) and pass it the arguments you want since DistantLaunch is just a wrapper for that lua function.

@chipsenkbeil chipsenkbeil added the bug Something isn't working label Sep 14, 2021
@chipsenkbeil
Copy link
Owner

Closing this out, but feel free to comment if you have additional questions about the launch command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants