-
Notifications
You must be signed in to change notification settings - Fork 12
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
Issue when used with alpha-nvim #314
Comments
Hey @vincentlabelle, thanks for reporting the issue and I'm glad you like the plugin!! I've tried reproducing it but so far no luck (I'm on no-neck-pain latest version, 1.8.3), I've joined a recording so you can let me know if you have a different config/do different input issue314.mov |
Hey @shortcuts, thanks for looking into the issue! I don't see anything from the video in terms of config/input that could be the cause of the discrepancy. I use the dashboard theme of alpha rather than the startify theme, but I doubt that's relevant. I've tried updating to version 1.8.3, but I still have the issue. I've taken two videos to show how I get the issue on a 34" screen with an aspect ratio of 21:9, but I don't get the issue on a 32" screen with an aspect ratio of 16:9. I hope this can help troubleshoot. 34-inch-21-9-aspect-ratio.mp432-inch-16-9-aspect-ratio.mp4 |
Thanks a lot @vincentlabelle for the throughout reproduction, I don't have such screen at home so can't really try it myself but looking at the recording my guess is that #317 will fix it. Do you have a way to try the fix by installing this specific branch? e.g. if you use lazy.nvim you can do: return {
"shortcuts/no-neck-pain.nvim",
branch = "feat/support-alpha",
....
} |
Thanks @shortcuts for being so responsive! I tested #317, and it fixes the issue. 😄 |
Nice to hear!! Thanks for testing and using the plugin :D |
Description
When NNP is triggered via
enableOnVimEnter
and I open neovim on my dashboard styled greeter made with alpha-nvim, the whole dashboard is slightly off center. Then, if I proceed to a file from the dashboard, everything is centered properly except the autocomplete menu. Strangely, if prior to proceeding to a file, I move the cursor (on the dashboard) it brings everything back to the center (and I don't have any issues when proceeding to a file).If I open vim on a file or folder, there is no issue.
Thanks for the amazing plugin! 👍
Steps to reproduce
I am only able to reproduce on a wide screen (i.e., 34"), and I don't have the issue otherwise.
enableOnVimEnter
totrue
Expected behavior
Everything is centered properly when opening the greeter, or the NNP trigger is disabled until the next buffer. It might be possible to solve this using a similar approach to #17?
Environment
The text was updated successfully, but these errors were encountered: