kristijanhusak / vim-dadbod-ui

Simple UI for https://github.com/tpope/vim-dadbod
MIT License
1.54k stars 94 forks source link

Hit enter prompt even when using nvim-notify #198

Closed willruggiano closed 1 year ago

willruggiano commented 1 year ago

My understanding from #182 and #192 was that if I use nvim-notify, or really anything except force echoing output, I should not get a hit enter prompt every time I do something in the drawer (e.g. hit to expand a "Schemas" section). But I still have to hit enter each time.

There's nothing in :messages. And if I set cmdheight to anything greater than 0 and repeat the same action, no hit enter prompt. This could very well be a known issue with cmdheight=0 but I'm not sure.

willruggiano commented 1 year ago

~This is kinda along the lines of the "known issue with cmdheight=0": https://github.com/neovim/neovim/issues/21645~

willruggiano commented 1 year ago

~I did a little teeny digging and decided it may be vim-dadbod needlessly echoing and hit-enter-prompting me. https://github.com/tpope/vim-dadbod/issues/143~

willruggiano commented 1 year ago

Ok, dug some more and it's this plugin, two tiny little lines. To me, they appear to be doing nothing at all so I just removed them. I'll submit a PR, you can enlighten me.