-
Notifications
You must be signed in to change notification settings - Fork 28
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
[FR] Wrap text in post window #29
Comments
Yes, this is possible. The post window actually have its own
|
This is also something that we should add to the scnvim (vim) documentation. Maybe we could have a "FAQ" section in the docs? |
Sounds perfect. I'll try your idea out – it looks like the stuff! |
Okay I tried 1 and it worked perfectly! |
Reopening this, as I can't seem to make it work any longer. At some point in the not too distant past, none of the two proposed solutions take any effect. Could there be some runtime voodoo that has changed at some point in the last few months? I have tried both of the above strategies, and none of them work. The output of
Edit: I'm on nvim 0.5 |
OK, it seems this might be connected with
things work as they should. |
This approach seems no longer to work. Can't quite pinpoint when it stopped working... |
This seems to be an issue again |
@kflak @madskjeldgaard Got a chance to take a look at this just now. I've found the reason, but I don't have a clear solution just yet. The bug was introduced when I added the require('scnvim.postwin').on_open:append(function()
vim.opt_local.wrap = true
end) |
Works beautifully! Thanks for the (albeit temporary) fix. |
Text in the post window goes beyond the window, making it a bit hard to read, without resizing. This is a common problem in the SCIDE as well. It would be nice if there was a way to make this text wrap automatically according to screen size. Maybe this is already possible via som nvim magic that I didn't notice? I dunno, otherwise it's an idea for a feature!
The text was updated successfully, but these errors were encountered: