Skip to content

[bug]: wrong resizing when using Snack explorer #511

@novikmisha

Description

@novikmisha

Description

When I open Snacks explorer, a large buffer appears. It disappears upon entering, even with skipEnteringNoNeckPainBuffer turned off.

Image

Neovim version

0.10.x

Steps to reproduce

  1. Use https://www.lazyvim.org/
  2. Add no-neck-pain with at least this config
return {
    "shortcuts/no-neck-pain.nvim",
    config = function()
        require("no-neck-pain").setup({
            width = 125,
            minSideBufferWidth = 4,
            autocmds = {
                enableOnVimEnter = true,
                skipEnteringNoNeckPainBuffer = true,
            },
            buffers = {
                right = {
                    enabled = false,
                },
            },
            integrations = { dashboard = { enabled = true } },
        })
    end,
}
  1. Open Snacks Explorer

Relevant log output

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions