b0o / incline.nvim

🎈 Floating statuslines for Neovim, winbar alternative
MIT License
759 stars 14 forks source link

Hide on cursorline does not work without tabs #34

Closed aldhsu closed 1 year ago

aldhsu commented 1 year ago

Hey @b0o I've been really enjoying Incline.nvim.

Reproduction

      require("incline").setup({
        hide = {
          cursorline = true,
        },
        window = {
          margin = {
            vertical = 0,
          },
        },
      })
  1. Open a new file without tabs

Expected

Incline to hide when cursor is inline with the file name.

Actual

Incline doesn't hide filename.

b0o commented 1 year ago

Thanks for reporting and for your PR!

In looking into the issue, I think I've found a simpler fix. Could you please try out #36 and let me know if it resolves the issue for you?

aldhsu commented 1 year ago

Great that solves my issue!