mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2026-05-11 08:28:04 +02:00
Merge 58822c3035 into e86a92e4b2
This commit is contained in:
commit
fa77e5a61e
3 changed files with 21 additions and 4 deletions
|
|
@ -126,6 +126,14 @@
|
|||
|
||||
## Changelog {#sec-release-0-9-changelog}
|
||||
|
||||
[ErinaYip](https://github.com/ErinaYip):
|
||||
|
||||
- Fixed and updated `lualine` options:
|
||||
- Enabled the previously unmapped
|
||||
{option}`vim.statusline.lualine.ignoreFocus`.
|
||||
- Added {option}`vim.statusline.lualine.disabledFiletypes.statusline` and
|
||||
{option}`vim.statusline.lualine.disabledFiletypes.winbar`.
|
||||
|
||||
[SecBear](https://github.com/SecBear):
|
||||
|
||||
- Renamed `setupOpts.strategies` to `setupOpts.interactions` in the
|
||||
|
|
|
|||
|
|
@ -68,6 +68,8 @@ in {
|
|||
globalstatus = mkDefault cfg.globalStatus;
|
||||
refresh = mkDefault cfg.refresh;
|
||||
always_divide_middle = mkDefault cfg.alwaysDivideMiddle;
|
||||
ignore_focus = mkDefault cfg.ignoreFocus;
|
||||
disabled_filetypes = mkDefault cfg.disabledFiletypes;
|
||||
};
|
||||
|
||||
sections = {
|
||||
|
|
|
|||
|
|
@ -102,10 +102,17 @@ in {
|
|||
default = true;
|
||||
};
|
||||
|
||||
disabledFiletypes = mkOption {
|
||||
type = listOf str;
|
||||
description = "Filetypes to disable lualine on";
|
||||
default = ["alpha"];
|
||||
disabledFiletypes = {
|
||||
statusline = mkOption {
|
||||
type = listOf str;
|
||||
default = ["alpha"];
|
||||
description = "Filetypes to disable lualine on for statusline";
|
||||
};
|
||||
winbar = mkOption {
|
||||
type = listOf str;
|
||||
default = [];
|
||||
description = "Filetypes to disable lualine on for winbar";
|
||||
};
|
||||
};
|
||||
|
||||
ignoreFocus = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue