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

Empty argument parsing for :RemoteSSHFSConnnect #16

Closed
HallerPatrick opened this issue Jan 8, 2024 · 1 comment · Fixed by #17
Closed

Empty argument parsing for :RemoteSSHFSConnnect #16

HallerPatrick opened this issue Jan 8, 2024 · 1 comment · Fixed by #17

Comments

@HallerPatrick
Copy link

Hey!

following the docs running :RemoteSSHFSConnect should bring up the telescope picker, but it doesnt for me. I am getting a attempt to concatenate local 'remote_host' (a nil value) error. It seems that if no argument is passed to the command opt.args is an empty string and tries to use it a the remote host name.

My little fix in init.lua (line 51) is:

    if opts.args and opts.args ~= "" then

With the fix the picker is opened. If I found a bug here, I could create a PR or you could include it by yourself. :)

Greetings,
Patrick

@nosduco nosduco closed this as completed in e11dd19 Jan 8, 2024
@nosduco
Copy link
Owner

nosduco commented Jan 8, 2024

Great catch!! Thank you so much <3 just released patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants