Hey really cool plugin.
Got this error when trying to connect to remote with :DistantLaunch my.host mode=ssh ssh.user=user ssh.port=11022
Although if I set ssh = { port = 11022 }
it in my config it works fine
callback error
stack traceback:
^I[C]: in ?
^I[C]: in function 'pcall'
^I.../.vim/plugged/distant.nvim/lua/distant/editor/launch.lua:75: in function 'load'
^I.../.vim/plugged/distant.nvim/lua/distant/editor/launch.lua:66: in function 'launch'
^I.../mater/.vim/plugged/distant.nvim/lua/distant/command.lua:147: in function 'launch'
^I[string ":lua"]:1: in main chunk
caused by: deserialize error: invalid type: string "11022", expected u16
callback error
stack traceback:
^I[C]: in ?
^I[C]: in function 'pcall'
^I.../.vim/plugged/distant.nvim/lua/distant/editor/launch.lua:75: in function 'load'
^I.../.vim/plugged/distant.nvim/lua/distant/editor/launch.lua:66: in function 'launch'
^I.../mater/.vim/plugged/distant.nvim/lua/distant/command.lua:147: in function 'launch'
^I[string ":lua"]:1: in main chunk
caused by: deserialize error: invalid type: string "11022", expected u16
Ps: Distant ask me passphase to decrypt id_ed25519 and id_rsa for user@host everytime I try to connect to my remote server. Since I don't have any ssh key passphase I just hit enter to skip it but it kinda annoying. I'm not sure what it is and how to stop Distant from asking. Usually I just enter my user's password when ssh over the command line.