Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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