Closed JosefLitos closed 7 months ago
I'll test this later, thank you for the work!
The utils
and render
modules have differing layouts to the barbar
counterparts; skimming the implementation I don't see them explicitly handled. Was that taken care of?
The
utils
andrender
modules have differing layouts to thebarbar
counterparts
Oh, I didn't know that. I will look into it.
Just to note, the bufferline/utils.lua
and bufferline/render.lua
files take backwards compatibility into account, so that behavior can probably be copied over (in case my previous comment made it seem otherwise)
I think I disagree with this change. Reasons:
I may try to find a way just out of curiosity but I understand v2.0
will make this PR redundant.
It's not like we're copying the full plugin source, we just add some redirects
Although that's true, this does deduplicate that process (which was my reasoning behind accepting a pursuit in this direction).
The logic might look fine, but there is always the risk of breaking users' config. I'd rather have one explicit breaking version rather than risk it here. In particular because I don't see any gain to removing those 1-line files.
Yeah… the current solution does work; if I could go back I'd probably do it this way but that doesn't necessarily mean it has to change now.
@JosefLitos thank you for teaching me something about Lua!
Closes #535
Note: I only added remapping for the top directory, because the
ui
andutils
directory weren't copied before either. It is a simple fix to do it for actually all files, though. So feel free to tell me to do so.