Closed phanen closed 1 month ago
Why is this a problem?
Previously thought: we don't need the lazy-load behavior here in plugin/dropbar.lua
, when user can use their own lazy.nvim
spec to issue autocmd.
But I just realized there's no problem with twice setup
, since the second one clear the previous augroup and only merge in new opts. So setup
is designed to be able to execute whatever times.
So feel free to close this.
Hi, sorry for the delay. Could you correct the format so that I can merge this PR? More specifically, breaking the if statement into multiple lines should be sufficient.
Fixed.
setup
is execute twice when usinglazy.nvim
load this plugin withopts = {...}
.~This is also a workaround for https://github.com/Bekaboo/dropbar.nvim/issues/141.~