-
Notifications
You must be signed in to change notification settings - Fork 32
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
Float window is not respectively sized its the content #38
Comments
Float window size should be shrunk to fit to its contents as screenshot in README file. Window size is calculated here: https://github.com/rhysd/git-messenger.vim/blob/master/autoload/gitmessenger/popup.vim#L59 However, as you showed in screenshot, the calculation seems not correct in some case. Would you tell me more information to reproduce this. Then I would be able to analyze what is happening. |
@rhysd thank you, i went and added some echo's for the height and width reported by that function you referenced above. i'm getting a computed width of |
Thank you for confirming that. I'm trying your repository. However, on my local environment, the window size is correct: There would be some hidden condition. Would you check the
It is an option dictionary passed to |
@rhysd thanks again for helping with this.. please find the attached screenshot (see the echo'd sizings from the line number you mentioned for the opts dict) |
Thank you for trying that. Let me confirm one thing. The output in your screenshot is
Does it mean that the
Anyway, it seems that a dictionary passed to
Would you also tell me your OS and Neovim's version (especially the git revision of your Neovim build)? Then I would be able to align environment with you. If possible, temporarily removing other plugins and load only git-messenger.vim in your environment is helpful to ensure that other plugin does not affect. |
Love this plugin, however, at some point, the floating window just got huge/oversized and won't size to the content itself. I've tried setting the
g:git_messenger_max_popup_height
andg:git_messenger_max_popup_width
plugin preferences, but they don't seem to make a difference. CoC and other popup/floating window plugins seem to be fine. Any thoughts of what I might look at/adjust to try and fix?The text was updated successfully, but these errors were encountered: