-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Respect &splitbelow and &splitright #1031
Conversation
This commit changes the horizontal split behavior to respect to the value of &splitbelow, which defaults to being disabled. This behavior was introduced in CopilotC-Nvim#950.
Shouldnt this then use topleft when splitbelow is not set? and same for splitting vertically with splitright? |
It works with |
Are you sure? The point of botright/topleft is to make full width/full height split. So if you have 2 splits and you open copilot chat, it makes full widht/full height split properly instead of making smaller split inside of your current window |
Pushed to respect both &splitbelow and &splitright, and to use topleft when either are not set. What this what you had in mind @deathbeam ? |
yes this looks good to me thanks |
@all-contributors add @teoljungberg for code |
I've put up a pull request to add @teoljungberg! 🎉 |
This commit changes the split behavior to respect to the value of
&splitbelow and &splitright, which are both disabled by default.
This behavior was introduced in #950.