This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
v0.2
v0.2
Version 0.2 of Feline has been released!
What's New?
- All component values can now take the window handler (#89)
force_inactive
anddisable
now take Lua patterns (#92)- There is now an
always_visible
option for icons, allowing icons to be visible even when the provider is empty - Providers are now lazy-loaded, providing a significant startup time boost
- A new
custom_providers
configuration option has been added to easily add custom provider functions - Provider options can now be passed separately from component values using
opts
(#102)
Bugfixes
- Fix empty highlight tables not inheriting parent highlights
- Fix error messages not being output correctly
- Make separators and icons inherit properties of string highlights
- Don't set highlight for empty components
- Generate correct name for highlights that have a value set to
'NONE'
- Make
force_inactive
anddisable
work correctly - Make
git_info_exists
work properly withgit_branch
- Fix
vi_mode
not working correctly when component icon is set - Fixed bug where Feline added name to the highlight table if it didn't exist
Documentation
- Usage information and guide to customizing feline has now been moved to the USAGE.md file
- Added instructions for develop branch and specific versions in the minimal init file
Miscellaneous
- Added benchmarks for statusline generation
- Several optimizations to improve performance
- Add gitsigns.nvim setup to startup benchmark
- Improved error messages
BREAKING CHANGES
- The old components table has been removed
- Support for
default_fg
anddefault_bg
have been removed - Due to presets directly returning the component table, modifying an existing preset is done differently now
force_inactive
anddisable
no longer do equality checks, which may break existing workflows- Provider options are now separate from component values, which means
file_info
needs to be configured differently - Provider functions now take arguments in a different order due to #102
- Separator
hl
can no longer be a function. So if you want separatorhl
to change, you have to make the whole separator a function instead