rebelot/heirline.nvim

Nested flexible component skipped when contrasting

Closed this issue · 2 comments

A minimal example is as following:

statusline = {
  flexible = 1,
  { provider = string.rep("a", 100) },
  {
    { provider = string.rep("d", 10) },
    {
      flexible = true,
      { provider = string.rep("b", 80) },
      { provider = string.rep("c", 10) },
    },
  },
  {} -- empty
}

When, for example, the width reduces from 100 to 50, I would expect dc to be shown, but instead nothing is shown.

Can't reproduce, it works as expected for me.