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

feature request: persistence the couter and can handly reset it. #143

Closed
soluty opened this issue Dec 6, 2024 · 3 comments · Fixed by #142
Closed

feature request: persistence the couter and can handly reset it. #143

soluty opened this issue Dec 6, 2024 · 3 comments · Fixed by #142

Comments

@soluty
Copy link

soluty commented Dec 6, 2024

Thanks for great plugin
currently when quit nvim , the debugprint counter will reset to 1, it is not a best practice and will let some one lost there debug prints, because counter is the easyer way to find difference. it will be nice if we can persistence the couter and if need reset, supply a command to reset it.

@andrewferrier
Copy link
Owner

Interesting idea, I think I will implement this :) Plan is to store this counter in a file on the filesystem.

@andrewferrier
Copy link
Owner

This has been implemented on the main branch now (not in a stable release yet). Please try it out and see if you have any feedback.

@soluty
Copy link
Author

soluty commented Dec 30, 2024

Thank you, it works very well, i love this feature~~

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

Successfully merging a pull request may close this issue.

2 participants