General neovim hack for developers #2244
-
Contributing guidelines
Module(s)none of the above QuestionHi there! This discussion is not related with any of the mini modules but for a little advice request. You know during plugin development there are several scenarios where we just add print statements to debug things out at a particular stage of plugin flow. Sometimes messages are too long to fit in the screen height. So what did you do to handle that situation to move through those long messages, because you cannot do much to move around other than In some of the streams of tjdevries I found that he can open messages in a split with a I though maybe you might also face this issue. If you have any advice to handle that please let me know or just close this discussion BTW I recently start using mini.pick with mini.extras they are amazing thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi! Thanks for kind words! Up until Neovim 0.12 it was indeed mostly
Printing messages is not the best approach of doing this. A better way is to add some global As this is a frequent operation for me, I had custom helpers which not so long ago I added to 'mini.misc'. Those are various To answer the |
Beta Was this translation helpful? Give feedback.
Hi! Thanks for kind words!
Up until Neovim 0.12 it was indeed mostly
:messagesand navigate through it. Theu,d,j,k(andG+g) was enough for me. The thing is, checking out messages is not that frequent operation for me.Printing messages is not the best approach of doing this. A better way is to add some global
_G.log = {}array and append to it the data you want to see during debugging (don't forget tovim.deepcopyif there are mutating tables).As this is a frequent operation for me, I had custom helpers which not so long ago I a…