vim-dadbod
vim-dadbod copied to clipboard
:DB hangs in GVim when attempting to open interactive console
Per README, if only connection URL is provided and SQL string / file is omitted, it should spawn an interactive console. However, when executed in GVim, the Vim just locks up.
I have tpope/vim-dispatch installed and running...
Start postgresql://...
... does open psql in interactive mode (albeit) within the Ex bar.
With a little experimentation, I found that taking off the silent at https://github.com/tpope/vim-dadbod/blob/master/autoload/db.vim#L206
silent execute 'Start' escape(cmd, '%#')
... does the trick.
That's unexpected. Does :silent Start cmd.exe lock up the same way?