Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable logs #17

Open
prescientmoon opened this issue Jan 11, 2023 · 3 comments
Open

How to disable logs #17

prescientmoon opened this issue Jan 11, 2023 · 3 comments

Comments

@prescientmoon
Copy link

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
Copy link
Owner

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
Copy link
Author

@frabjous Should I open a pr with this?

@frabjous
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants