Closed DeodatoBastos closed 1 year ago
This is definitely due to lazy configuration. I'm not sure I understand what you posted. You have everything defined twice. You can check how I set it up https://github.com/kristijanhusak/neovim-config/blob/master/nvim/lua/partials/plugins/db.lua#L1
I added an example with lazy.nvim in the docs https://github.com/kristijanhusak/vim-dadbod-ui#installation. Let me know if it works out.
That doesn't work for me.
I will try to explain better:
When I try to run :DBUIToggle
for the first time without run :DB
these errors appears:
When I try to run :DBUIToggle
for the second time:
For the third(+) time:
The same happens when I use :DBUI
, but the function is open instead of toggle.
After use :DBUI
or :DBUIToggle
for the second time, I cannot use I it at all without restart Neovim.
If I run :DB
after the first time or before :DBUI
or :DBUIToggle
everything works well.
This is a configuration issue. I checked your dotfiles.
Try removing this section https://github.com/DeodatoBastos/nvim-setup/blob/main/lua/plugins.lua#L231-L239 and this section https://github.com/DeodatoBastos/nvim-setup/blob/main/lua/plugins.lua#L248-L251, do :Lazy sync
and try again.
That's works thanks!
I've already tried this, but isn't working. I see now that there was a typo in my settings.
Thank you for the help! Btw, incredible plugin!
I have to connect with my db first with raw dadbod to can you the ui.
The following error appears:
When I try again, this happes:
The database password is "my_password".
Configuration with lazy:
the
dbui.lua
file: