Closed s-cerevisiae closed 2 years ago
Yes, you are correct. This is the better way to do it. Thanks for making the PR.
During this I've also found that the wrong name is being used for M.options.show_tabs_always
so it actually doesn't work... (here)
But this should be addressed in a different branch I guess.
Thanks for pointing that out! Fixed in https://github.com/kdheepak/tabline.nvim/commit/436b8778350e3b17615869fbb3fe4b206357d76d.
As of now, boolean options with a default value of
true
could not be properly set:This PR fixes this by (defensively) test all boolean options against
nil
, no matter what its default value currently is: