This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
v0.3
v0.3
Version 0.3 of Feline has been released!
What's New?
- Feline now supports smart component truncation (#132).
- The
str
andhl
values of icons and separators can now be functions. - It's now possible to omit the provider of a component entirely, allowing for things such as the customization of the section gap colors.
- You can now customize the default highlights of the active and inactive statusline using the new
default_hl
configuration option. - Highlight reset triggers can now be customized using the
highlight_reset_triggers
configuration option.
Documentation
- Fixed the Thin line for horizontal splits tip.
- Feline's help files are now mentioned in the README.
Miscellaneous
- Providers are now evaluated in the context of the current statusline window.
BREAKING CHANGES
require('feline.providers').add_provider()
no longer works, so you must use thecustom_providers
configuration option instead.- Section gaps no longer use the default
bg
color by default, so the section gap highlights need to be specified manually. For more info, see: https://github.com/famiu/feline.nvim/blob/develop/USAGE.md#highlight-section-gaps - The statusline providers no longer take a
winid
argument. Now you need to usevim.api.nvim_get_current_win()
to get the statusline window andvim.api.nvim_get_current_buf()
for the statusline buffer. For the actual current window / buffer, you need to usevim.g.actual_curwin
andvim.g.actual_curbuf
, respectively. As a result of this change, theupdate_triggers
option has also been removed.