folke / zen-mode.nvim

🧘 Distraction-free coding for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: lualine is not hide

diegoulloao opened this issue · comments

Did you check docs and existing issues?

  • I have read all the zen-mode.nvim docs
  • I have searched the existing issues of zen-mode.nvim
  • I have searched the existing issues of plugins related to this issue

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
      }
    }
  }
}

Ok, I found this solution in google:

-- opts:
{
  on_open = function()
    vim.o.cmdheight = 1
  end,
  on_close = function()
    vim.o.cmdheight = 0
  end,
}

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.

This issue was closed because it has been stalled for 7 days with no activity.