Merge pull request #987 from lackac/lualine-separators

lualine: fix separator options to work with recent versions of lualine
This commit is contained in:
Ching Pei Yang 2025-07-07 11:46:53 +02:00 committed by GitHub
commit 8413b25e5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -439,3 +439,4 @@
- Add [smart-splits.nvim] for navigating between Neovim windows and terminal multiplexer panes.
Available at `vim.utility.smart-splits`.
- Fix lualine separator options

View file

@ -63,8 +63,8 @@ in {
options = {
icons_enabled = mkDefault cfg.icons.enable;
theme = mkDefault cfg.theme;
component_separators = mkDefault [cfg.componentSeparator.left cfg.componentSeparator.right];
section_separators = mkDefault [cfg.sectionSeparator.left cfg.sectionSeparator.right];
component_separators = mkDefault cfg.componentSeparator;
section_separators = mkDefault cfg.sectionSeparator;
globalstatus = mkDefault cfg.globalStatus;
refresh = mkDefault cfg.refresh;
always_divide_middle = mkDefault cfg.alwaysDivideMiddle;