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

how change height #83

Closed
sineptic opened this issue Aug 7, 2024 · 6 comments · Fixed by #84
Closed

how change height #83

sineptic opened this issue Aug 7, 2024 · 6 comments · Fixed by #84

Comments

@sineptic
Copy link

sineptic commented Aug 7, 2024

I want change height for preview window. I found only how change height, in documentation(in nvim) search for "height" displays 0 matches.

@oskarrrrrrr
Copy link
Contributor

You can use min_height setting like this:

preview_window = {
    min_height=100
}

Height will automatically get truncated so that the preview window fits inside nvim.

@sineptic
Copy link
Author

sineptic commented Aug 9, 2024

but can I make it 70% or 80% for example?

@oskarrrrrrr
Copy link
Contributor

Not right now, but it could be added. There already is an equivalent setting for width.

@sineptic
Copy link
Author

sineptic commented Aug 9, 2024

There already is an equivalent setting for width.

Why? Width change only width, am I wrong?

@oskarrrrrrr
Copy link
Contributor

I don't know why, I added a PR to add those settings for height: #84

@sineptic
Copy link
Author

thank you!

@hedyhli hedyhli linked a pull request Aug 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants