Skip to content
Discussion options

You must be logged in to vote

Hi! Thanks for kind words!

Up until Neovim 0.12 it was indeed mostly :messages and navigate through it. The u,d,j,k (and G + g) was enough for me. The thing is, checking out messages is not that frequent operation for me.

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.

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 to vim.deepcopy if there are mutating tables).

As this is a frequent operation for me, I had custom helpers which not so long ago I a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants