lualine.nvim commit 221ce6b
See active language servers and their work progress in your Neovim statusline.
Before you upgrade to commit 221ce6b
1 to fixExtension and `disabled_filetypes` matching now splits compound filetypes at dots; for `c.doxygen`, configure entries for `c` or `doxygen` instead of relying on a full-name match.
The `quickfix` extension no longer assigns distinct background colors to quickfix and location-list labels; it uses the section's theme colors.
`lualine.refresh()` now queues updates, checked every 16 ms by default; use `force=true` for immediate refresh. Configure `options.refresh.events`; its defaults now include `BufWritePost`.
`options.refresh.refresh_time` values of zero or less are reset to 16 ms; they do not disable refreshing.
What changed in commit 221ce6b
The `lsp_status` component displays attached servers and progress; `encoding.show_bomb`, functional `filename.shorting_target` and new extensions add display choices. Refresh calls now queue by default, and compound filetypes are matched by their dot-separated parts.
Also: Display Git branches in reftable repositories, customize refresh events and hide a single-tab tabline; branch installs now require Neovim 0.7 or newer.
Install the default branch or pin commit 221ce6b2d999187044529f49da6554a92f740a96. README requires Neovim >= 0.7; winbar needs >= 0.8. Older Neovim users can retain the compatibility tags.
New things you can do
Add `lsp_status`; customize `symbols`, filter servers with `ignore_lsp`, or hide their names with `show_name=false`.
Fixed and improved
`branch` supports reftable repositories and Oil directories; terminal buffers resolve their branch correctly. `diff` handles paths containing spaces and skips Git calls when Git is absent.
Enable `encoding.show_bomb` to show a BOM; `filename.shorting_target` accepts a function. Shortened filenames escape correctly, remote URLs are not marked new, and `location` counts character columns instead of screen columns.
Read the evidence
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/README.md
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/compo…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/compo…
- nvim-lualine/lualine.nvim/compare/compat-nvim-0.5...221ce6b2d999187044529f49da6554a92f740…
Set `options.always_show_tabline=false` to show the configured tabline only when more than one tab is open; the default remains `true`.
Use `tomorrow_night` or Base16 colors from `base16-vim`/`tinted-vim`; dynamic theme functions can return theme names. Numeric terminal colors are preserved, themes can load from `package.path`, and `ignore_focus` accepts a window predicate.
Read the evidence
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/theme…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/theme…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/utils…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/highl…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine.lua
Enable `oil`, `ctrlspace`, `avante` or `assistant` layouts; Oil shows its directory and Avante shows pane context and todo counts. Trouble v3 is supported, Mason works with lazy loading, and FZF selection paths are parsed correctly.
Read the evidence
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/exten…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/exten…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/exten…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/exten…
- nvim-lualine/lualine.nvim/blob/221ce6b2d999187044529f49da6554a92f740a96/lua/lualine/exten…
- nvim-lualine/lualine.nvim/compare/compat-nvim-0.5...221ce6b2d999187044529f49da6554a92f740…
When `vim.fn.searchcount` fails, `searchcount` displays nothing instead of propagating the error into statusline rendering.
Disabled filetypes remain hidden with Neovim's changed default statusline; hiding also handles inherited reverse highlight attributes.
Extension layouts can reuse the same table for `winbar` and `inactive_winbar` without loading and mutating their components twice.
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.