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

v0.3

Compare
Choose a tag to compare
@famiu famiu released this 03 Oct 16:24
· 111 commits to master since this release
6b788d1

v0.3

Version 0.3 of Feline has been released!

What's New?

  • Feline now supports smart component truncation (#132).
  • The str and hl 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

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 the custom_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 use vim.api.nvim_get_current_win() to get the statusline window and vim.api.nvim_get_current_buf() for the statusline buffer. For the actual current window / buffer, you need to use vim.g.actual_curwin and vim.g.actual_curbuf, respectively. As a result of this change, the update_triggers option has also been removed.