Feline.nvim Versions Save

A minimal, stylish and customizable statusline for Neovim written in Lua

v0.3.2

2 years ago

v0.3.2

Version 0.3.2 of Feline has been released, containing a few bugfixes.

Bugfixes

  • Statusline component truncation is no longer disabled on Linux as well
  • Feline now checks if a provider's name is a string and throws an error if it isn't

v0.3.1

2 years ago

v0.3.1

Version 0.3.1 of Feline has been released, containing a few bugfixes and a breaking change.

Bugfixes

  • Feline now throws an error if termguicolors is not set
  • The statusline no longer shows ^ characters on the active statusline for certain colorschemes
  • An error is now shown when a provider's name is not provided or if the provider with the specified name doesn't exist
  • Setting enabled directly to false now works properly
  • Truncation is now disabled on Windows, which fixes the FFI errors that were shown on Windows

BREAKING CHANGES

  • default_hl is now removed. Set the StatusLine and StatusLineNC highlights manually to set the highlights for the active and inactive statusline now

v0.3

2 years ago

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.

v0.2.1

2 years ago

v0.2.1

Version 0.2.1 of Feline has been released, containing a few bugfixes.

Bugfixes

  • Gaps between sections now respect the background color
  • Providers that are set to a table now properly return icons

v0.2

2 years ago

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

v0.1.1

2 years ago

v0.1.1

Version 0.1.1 of Feline has been released!

Bugfixes

  • Fix Neovim startup screen disappearing due to Feline. (#23)
  • Fix file_info provider not working without nvim-web-devicons in noicons preset. (#77)

Documentation

  • Use clearer and more concise wording.
  • Fix several typos.
  • Add vimdocs. (#76)

v0.1

2 years ago

Initial release of feline.nvim.