fgheng / winbar.nvim

winbar config for neovim
113 stars 22 forks source link

winbar start up complain using default setup #19

Open radkle opened 1 year ago

radkle commented 1 year ago

I am using nvim 0.8 , installed latest winbar from master. When using default setup() , start up nvim, got "attempt to index a nil value(opts)" error at line 10. however if using copy whole default setup opts as setup method argument, it works fine.

checked init.lua source code, line 10 if opts.enabled == true then maybe need add nil check here for opts