Skip to content

bug: prompt split shifts position when dismissing diff split #58

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

Closed
3 tasks done
bakedbean opened this issue Mar 6, 2025 · 1 comment
Closed
3 tasks done

bug: prompt split shifts position when dismissing diff split #58

bakedbean opened this issue Mar 6, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@bakedbean
Copy link

bakedbean commented Mar 6, 2025

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.10.2

Operating system/version

MacOS 13.5

Describe the bug

When the prompt split is configured to display right justified, it shifts position to the left when dismissing the diff split for edits.

Steps To Reproduce

With the configuration set to show the magenta split positioned right.

  1. open the prompt via <leader>mt
  2. write a prompt and view the suggested edit
  3. accept proposed changes
  4. Dismiss diff split via <ctrl> q

The magenta prompt split jumps to the left and the code split moves right.

I am using Lunarvim with a filetree split to the left as well.

Expected Behavior

I expect the magenta prompt to remain right justified

@bakedbean bakedbean added the bug Something isn't working label Mar 6, 2025
@dlants
Copy link
Owner

dlants commented Mar 30, 2025

fixed in this commit e1311ca

@dlants dlants closed this as completed Mar 30, 2025
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

2 participants