Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Cmdline expanding only in one direction when filled whole screen #956

Open
4 tasks done
superNWHG opened this issue Sep 29, 2024 · 2 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@superNWHG
Copy link

Did you check docs and existing issues?

  • I have read all the noice.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of noice.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.10.1

Operating system/version

Arch Linux

Describe the bug

When using the cmdline of noice.nvim, it will expand when there is not enough space.
This works fine, until you try to expand it too much. When the size of the cmdline reaches the full width of the screen, it keeps expanding only on the right side. I think there is a border on the left side, that should also be on the right side.
This will lead to the "Cmdline" text at the top of the cmdline eventually moving out of the screen.

Demo video:

untitled.mp4

Steps To Reproduce

  1. Use the noice.nvim plugin with the Cmdline enabled
  2. Open the Cmdline
  3. Type characters until you see the "Cmdline" text on top of the cmdline moving away

Expected Behavior

The text staying at the right place and having a border on the right.

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/noice.nvim", opts = {} },
    -- add any other plugins here
  },
})
@superNWHG superNWHG added the bug Something isn't working label Sep 29, 2024
Copy link
Contributor

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 github-actions bot added the stale label Oct 30, 2024
@superNWHG
Copy link
Author

Commenting to keep issue open since it's not resolved

@github-actions github-actions bot removed the stale label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant