Because the existingChildren check references customChildren
but the render uses the customInnerChildren property, this plugin
resets customInnerChildren, overriding previous children, thereby
preventing other extensions from rendering. Fixing the check to
inspect customInnerChildren allows this extension to co-exist with
other extensions leveraging the customInnerChildren property.
I’ve published this to @j-f/hyper-statusline. You can swap hyper-statusline with @j-f/hyper-statusline in your config to switch. Feel free to contribute!
Because the
existingChildren
check referencescustomChildren
but the render uses thecustomInnerChildren
property, this plugin resetscustomInnerChildren
, overriding previous children, thereby preventing other extensions from rendering. Fixing the check to inspectcustomInnerChildren
allows this extension to co-exist with other extensions leveraging thecustomInnerChildren
property.