mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-05-18 21:17:23 +00:00
Merge ebf9a4d729 into cd45295f9c
This commit is contained in:
commit
8a19eb3ec7
4 changed files with 22 additions and 5 deletions
|
|
@ -127,7 +127,7 @@ vim.api.nvim_set_keymap('n', '<leader>a', ':lua camelToSnake()<CR>', { noremap =
|
|||
and `disabled_filetypes` through the new options:
|
||||
{option}`vim.statusline.lualine.alwaysDivideMiddle`,
|
||||
{option}`vim.statusline.lualine.ignoreFocus` and
|
||||
{option}`vim.statusline.lualine.disabledFiletypes`).
|
||||
{option}`vim.statusline.lualine.disabledFiletypes.statusline`).
|
||||
|
||||
- Updated all plugin inputs to their latest versions (**21.04.2024**) - this
|
||||
brought minor color changes to the Catppuccin theme.
|
||||
|
|
|
|||
|
|
@ -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
Add a link
Reference in a new issue