How to disable logs
prescientmoon opened this issue · 3 comments
prescientmoon commented
The plugin keeps printing process successful; refresh preview
every time I type, which is extremly distracting for people like me who use cmdheight = 0
. Is there a way to disable those logs?
frabjous commented
There's nothing built in to prevent that at present (cmdheight = 0
is not something I'd ever consider), but it's not a hard change to make if you want to make it yourself. Open the file lua/knap.lua
and comment out (with --
line 372, print("process successful; refreshing viewer")
to become -- print("process successful; refreshing viewer")
.
prescientmoon commented
@frabjous Should I open a pr with this?
frabjous commented
Not simply for disabling it as suggested. If you make it a true option that can be toggled on or off with an option, then sure.