Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

v0.2

Compare
Choose a tag to compare
@famiu famiu released this 24 Sep 17:02
· 144 commits to master since this release

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 and disable 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 and disable work correctly
  • Make git_info_exists work properly with git_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 and default_bg have been removed
  • Due to presets directly returning the component table, modifying an existing preset is done differently now
  • force_inactive and disable 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 separator hl to change, you have to make the whole separator a function instead