folke / edgy.nvim

Easily create and manage predefined window layouts, bringing a new edge to your workflow
Apache License 2.0
840 stars 17 forks source link

bug: QuickFix is stuck #67

Closed yaotutu closed 2 months ago

yaotutu commented 8 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

NVIM v0.10.0-dev-2284+gf6042d5c3 && NVIM 9.5

Operating system/version

Macos 14.11

Describe the bug

If I open a help window first and then open a quickfix window, it freezes. However, if I adjust the configuration file and place the quickfix window at the top, it opens normally. If there are other window configurations before the quickfix window, and you open them before opening the quickfix window, you may encounter such issues.

Steps To Reproduce

  1. :help
  2. :copen

Expected Behavior

Open the quickfix window normally

Repro

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({
        "git",
        "clone",
        "--filter=blob:none",
        "https://github.com/folke/lazy.nvim.git",
        "--branch=stable", -- latest stable release
        lazypath,
    })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
    {
        "folke/edgy.nvim",
        event = "VeryLazy",
        init = function()
            vim.opt.laststatus = 3
            vim.opt.splitkeep = "screen"
        end,
        opts = {
            bottom = {
                {
                    ft = "help",
                    size = { height = 20 },
                    -- only show help buffers
                    filter = function(buf)
                        return vim.bo[buf].buftype == "help"
                    end,
                },
                { ft = "qf", title = "QuickFix" },
            },
        },
    }
})
tummetott commented 6 months ago

Yes i can second this. also had exactly this freeze several times.

github-actions[bot] commented 3 months 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.

github-actions[bot] commented 2 months ago

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