kristijanhusak / vim-dadbod-ui

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

flickering statusline on startup #161

Closed aca closed 1 year ago

aca commented 1 year ago
sourcing "/home/rok/src/config/dotfiles/.local/share/nvim/site/pack/bundle/opt/vim-dadbod-ui/plugin/db_ui.vim"
Error detected while processing /home/rok/src/config/dotfiles/.local/share/nvim/site/pack/bundle/opt/vim-dadbod-ui/plugin/db_ui.vim:
line   34:
E716: Key not present in Dictionary: "expanded"
Error detected while processing /home/rok/src/config/dotfiles/.local/share/nvim/site/pack/bundle/opt/vim-dadbod-ui/plugin/db_ui.vim:
line   41:
E716: Key not present in Dictionary: "collapsed"
Error detected while processing /home/rok/src/config/dotfiles/.local/share/nvim/site/pack/bundle/opt/vim-dadbod-ui/plugin/db_ui.vim:
line  104:

https://github.com/kristijanhusak/vim-dadbod-ui/blob/caf45f54dad6150970331ac115e531524e418c7c/plugin/db_ui.vim#L104-L105

There's silent but it causes flickering when loading this plugins. Is it just misconfiguration on my vim? or can we just use has_key and check if key exists instead?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kristijanhusak commented 1 year ago

It's probably a misconfiguration. Can you provide your setup for the plugin?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.