-
Notifications
You must be signed in to change notification settings - Fork 31
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
The plugin doesn't ignore the files when using the File Save Hook #98
Comments
Hi, could you give this in-dev version a try: #55 (comment) It adds support for waiting for Templater hooks. i'm not a Templater user so would like to understand if this is resolving those issues for you |
Hi!. It doesn't have to do anything with Templater itself. The problem persists in any file, even with Templater plugin turned off. I tested it. And I don't think Tamplater reacts to I also tried to replace the I will be happy to help with any tests related to the issue. Thanks! |
Thanks for reporting back, let me see if I can reproduce this here. I know that we have some race condition with Templater, but in all other cases, there is a guard when the file is ignored: https://github.com/dvcrn/obsidian-filename-heading-sync/blob/master/main.ts#L162 Can you list the plugins you have enabled? Open dev tools and type |
As stated before, I turned off Templater for now. There you go:
|
Yes but my suspicion is another race condition with something else that listens on save hook. A lot of plugins do that 😄 |
I did some testing.
The problem persists. Other plugins have nothing to do with it, unfortunately. |
I feel stupid... I just noticed that I had the same keys for |
When setting up the folder (mine is TemplateR/.*), the plugin keeps renaming the file. The ones added via command, too.
STR:
Ignore Current File
command on a fileСtrl + Save
to save the fileMy Ignore File settings:
The file before
Ctrl+S
The file after
Ctrl+S
The text was updated successfully, but these errors were encountered: