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

Set nowrap #3

Closed
bdillahu opened this issue Feb 12, 2021 · 3 comments
Closed

Set nowrap #3

bdillahu opened this issue Feb 12, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@bdillahu
Copy link

May want to consider a way to force the pop up window to “nowrap”... I have my VIM set to normally be wrapped, but that doesn’t work so well in the window.

@gennaro-tedesco
Copy link
Owner

gennaro-tedesco commented Feb 12, 2021

Yes, I agree. I will flag this issue as "enhancement request" and work on it next, together with some other window options that users may want to specify or activate in the floating buffer.

Edit: I am addressing this issue with this merge request. I will test it and merge today, most likely.

@gennaro-tedesco gennaro-tedesco added the enhancement New feature or request label Feb 12, 2021
@gennaro-tedesco gennaro-tedesco mentioned this issue Feb 12, 2021
@gennaro-tedesco
Copy link
Owner

Merged the changes here.

To activate/de-activate wrapping in the popup window simply set

lua require('nvim-peekup.config').geometry["wrap"] = false/true

@bdillahu
Copy link
Author

Seems to work fine, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants