-
-
Notifications
You must be signed in to change notification settings - Fork 853
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
Vertical padding does not take tabline into account #995
Comments
See This should achieve what you want. telescope.setup {
defaults = {
layout_config = {
height = {
padding = 10
}
}
}
} For next time, please aspire to consult the docs first before reporting a "bug" that's not a bug ;) e2: I stand corrected. e: closing this unless the snippet does not achieve the desired outcome |
@fdschmidt93 thanks! anyways the bottom padding still looks a bit more , maybe because of the tabline |
Yes, tabline is not taken into account when calculating the height. That is a bug. |
You could achieve that with autocommands around the TelescopePrompt filetype I guess. |
Firstly, I think I should point out that there will always be some circumstances where the amount of padding differs above/below. For example if the number of lines in the window is 80 and the height of the picker is set to be 75, you can't evenly distribute the remaining 5 lines between the top and bottom. That being said I agree that the current situation isn't quite ideal, and we can definitely improve upon it. I don't think that hiding the I think it would be better to build into the logic of the If someone wants to write a PR for this, then I'm more than happy to review it, just ping me if you do 🙂 |
Hi there! Is there any setting to have both ( top and bottom space around telescope ) have equal padding? the bottom padding looks a bit more than the top one.
The text was updated successfully, but these errors were encountered: