guess-indent.nvim icon indicating copy to clipboard operation
guess-indent.nvim copied to clipboard

Verbose prints are disruptive with `nvim -V1`

Open pynappo opened this issue 8 months ago • 0 comments

I get that since vim-sleuth does it, guess-indent should also output at verbose = 1. The main thing is that I use nvim -V1 to trace where lua options might be set when debugging, and I'd rather if this plugin doesn't print stuff and block neovim every time i open a file automatically.

What i think i'd do is only take verbosity into account if explicitly specified in command execution. otherwise fallback to some config option that defaults to 0.

Or, alternatively, use vim.notify instead of print, which i think does not block in its default implementation?

pynappo avatar Jan 28 '25 09:01 pynappo