This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
Releases: famiu/feline.nvim
Releases · famiu/feline.nvim
v0.3.2
v0.3.1
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 specifiedname
doesn't exist - Setting
enabled
directly tofalse
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 theStatusLine
andStatusLineNC
highlights manually to set the highlights for the active and inactive statusline now
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.
v0.2.1
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