folke / zen-mode.nvim

🧘 Distraction-free coding for Neovim
Apache License 2.0
1.56k stars 42 forks source link

bug: lualine is not hide #132

Open diegoulloao opened 1 month ago

diegoulloao commented 1 month ago

Did you check docs and existing issues?

Neovim version (nvim -v)

0.10.0

Operating system/version

macOs 14.5

Describe the bug

Lualine is not hide.

Screenshot

Steps To Reproduce

  1. Install lualine
  2. Start ZenMode

Expected Behavior

Lualine should dissapear.

Repro

return {
  "folke/zen-mode.nvim",
  cmd = { "ZenMode" },
  opts = {
    window = {
      options = {
        signcolumn = "no", -- disable signcolumn
        number = false, -- disable number column
        relativenumber = false, -- disable relative numbers
        cursorline = false, -- disable cursorline
        cursorcolumn = false, -- disable cursor column
        foldcolumn = "0", -- disable fold column
        list = false, -- disable whitespace characters
      }
    }
  }
}
diegoulloao commented 1 month ago

Ok, I found this solution in google:

-- opts:
{
  on_open = function()
    vim.o.cmdheight = 1
  end,
  on_close = function()
    vim.o.cmdheight = 0
  end,
}
github-actions[bot] commented 1 day ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.