For all the people, which still use print
for debugging (which includes me).
Usage:
- hover over your variable
- one of:
:Debugprint
lua require("debugprint").print()
(can be used without callingsetup
)
return {
"jan9103/debugprint.nvim",
cmd = "Debugprint",
config = function() require("debugprint").setup() end,
}
packer.nvim:
use {"jan9103/debugprint.nvim", config = function() require("debugprint").setup() end}
- shell: bash, sh, nu
- java
- javascript & typescript
- lua
- python
- rust
Feel free to open a MR or issue for more languages.