[BUG] Lualine section separators background is weird
ArtemChandragupta opened this issue · comments
Field | Description |
---|---|
Plugin | Lualine |
Nixpkgs | Unstable |
Home Manager | Unstable |
- [+] I have read the FAQ and my bug is not listed there.
Description
Then I try to reproduce bubbles lualine theme, glyphs on the edges of the line have weird background. This issue have some mentions on reddit and lualine github. They resolved it by
Link StatusLine and StatusLineNC highlight groups to Normal
:hi! link StatusLine Normal :hi! link StatusLineNC Normal
What is it and how can I do this in nixvim?
Minimal, Reproducible Example (MRE)
programs.nixvim.plugins = {
lualine = {
enable = true;
sectionSeparators = {
left = "";
right = "";
};
sections = {
lualine_a = [
{
separator.left = "";
separator.right = "";
extraConfig.padding.right = 2;
extraConfig.padding.left = 2;
}
];
lualine_z = [
{
separator.right = "";
extraConfig.padding.left = 2;
extraConfig.padding.right = 2;
}
];
};
};
}
Hello, thanks for the detailed report.
What is it and how can I do this in nixvim?
This solution consists in linking highlight groups.
You can do so in nixvim by setting:
extraConfigVim = ''
hi! link StatusLine Normal
hi! link StatusLineNC Normal
'';
Working as expected!
Working as expected!
Great !