Closed matu3ba closed 2 years ago
_G
makes it explicit. See here, they use the same convention. There are functionally equivalent.Meta: Are you referring to one-small-step-for-vimkind? You can find something here If you want a commented video, I have no plans to really make one, osv is really niche in my opinion.
Meta2: I've never used nvim-luadev. You can use the REPL inside nvim-dap theorically. Although I never use it. With osv, it's possible, but assignements don't work. Usually writing in a file and using luafile %
is the best for me. Personnally, I use my other plugin dash.nvim, which ensures me that my neovim does not freeze in case of a lua infinite loop. I would suggest to build your own setup for executing lua because it's so common if you do neovim lua development.
Meta: Can you make example configs or video for 1.debugger,
2.how to log stuff in lua with plenary, 3. repl things?Meta2: Is nvim-luadev the best option as lua repl or could this be combined with the debugger somehow?