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

Fix YAML Timestamp Debounce not Starting with the First Character Change #1201

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

pjkaufman
Copy link
Collaborator

Relates to #1199

There was an issue mentioned where the YAML Timestamp logic was not having the debounced logic run when a single character was updated. It seems that the debounce function is not automatically started once created, so it needs to be called after creation in this case.

Changes Made:

  • Immediately called the debounce function instead of just instantiating it
    • Should allow for the debounce function to start its timer immediately once the first editor change happens

@pjkaufman pjkaufman added bug Something isn't working yaml YAML related issues or features obsidian Obsidian specific syntax issue or feature labels Oct 21, 2024
@pjkaufman pjkaufman self-assigned this Oct 21, 2024
@pjkaufman pjkaufman merged commit 2048cef into platers:master Oct 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working obsidian Obsidian specific syntax issue or feature yaml YAML related issues or features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant