-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking Changes #17
Comments
feat(flexible components)!: introduce components able to expand/contract depending on available window space. BREAKING CHANGE: stop_at_first is superseded by pick_child see Breaking Changes #17.
To get the same behavior change ...
stop_at_first = true
... to ...
init = require'heirline.utils'.pick_child_on_condition
... or ...
init = function(self)
-- your stuff
require'heirline.utils'.pick_child_on_condition(self)
end
... |
Hello, I changed my statusline definition from: local Statusline = {
stop_at_first = true,
SpecialStatusline,
TerminalStatusline,
InactiveStatusline,
ActiveStatusline,
} to local Statusline = {
init = utils.pick_child_on_condition,
SpecialStatusline,
TerminalStatusline,
InactiveStatusline,
ActiveStatusline,
} Only the Neovim version:
|
Do your statuslines have a |
That was the exact problem. My statuslines didn't have conditions set directly, but only their children had. Now I defined conditions directly and statuslines are back. Thank you very much for this awesome statusline API. |
use of
|
Removal of
|
Deprecate
|
Promote flexible components to builtin and deprecate
|
change the function signature of setup(...) to setup(config).from require('heirline').setup(statusline, winbar, tabline) to require('heirline').setup({
statusline = ...,
winbar = ..,
tabline = ...,
statuscolumn = ...}) |
The text was updated successfully, but these errors were encountered: