Right now, I cannot use dadbod-ssh with ui because whenever I save an URL, the saved URL is resolved before saving. With ssh adapter, the url points to a localhost:7000 after resolving (or so). This is the URL that is saved in connection.json.
Then when I close nvim and try to reopen connection to the database, the local port (7000) is closed. dadbod-ui is trying to open it without opening ssh tunnel because url is not saved with the ssh:/ prefix (as it is resolved).
I probably missed something as they were probably there for a reason. In this case, please feel free to tell me what I'm missing for this to be accepted.
However, I don't understand why dadbod-ui has his own version of adapters. vim-dadbod let's you write some so why not adding adapters directly to vim-dadbod? Please enlighten me on the matter
Disclaimer : I've never written anything in vimscript
Right now, I cannot use dadbod-ssh with ui because whenever I save an URL, the saved URL is resolved before saving. With ssh adapter, the url points to a localhost:7000 after resolving (or so). This is the URL that is saved in
connection.json
.Then when I close nvim and try to reopen connection to the database, the local port (7000) is closed. dadbod-ui is trying to open it without opening ssh tunnel because url is not saved with the ssh:/ prefix (as it is resolved).
I probably missed something as they were probably there for a reason. In this case, please feel free to tell me what I'm missing for this to be accepted.
However, I don't understand why dadbod-ui has his own version of adapters. vim-dadbod let's you write some so why not adding adapters directly to vim-dadbod? Please enlighten me on the matter
Disclaimer : I've never written anything in vimscript