You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, having been using this config for nearly a decade, thank you for creating and maintaining this project and i very appreciate it.
It's not a bug but more like a usability issue which my prettier-mod's format-on-save kept getting overrided by tide and (remove-hook 'before-save-hook 'tide-format-before-save) didn't stop it from happening. I spent quite sometime investigating an wrong direction until I global search the entire config and discover that it's because the function is wrapped with lambda.
prelude-format-on-save seems to only work with prelude-ts and I think this feature is more like a "personal" config, and if we do want to keep this feature, a toggle function to add/remove the hook, instead of a boolean value, would probably be a better approach.
Hi, having been using this config for nearly a decade, thank you for creating and maintaining this project and i very appreciate it.
It's not a bug but more like a usability issue which my prettier-mod's format-on-save kept getting overrided by tide and
(remove-hook 'before-save-hook 'tide-format-before-save)
didn't stop it from happening. I spent quite sometime investigating an wrong direction until I global search the entire config and discover that it's because the function is wrapped with lambda.prelude/modules/prelude-ts.el
Lines 46 to 50 in 9106aea
prelude-format-on-save
seems to only work with prelude-ts and I think this feature is more like a "personal" config, and if we do want to keep this feature, a toggle function to add/remove the hook, instead of a boolean value, would probably be a better approach.related issue #1254
Expected behavior
(remove-hook 'before-save-hook 'tide-format-before-save t)
should disabletide-format-before-save
Actual behavior
It doesn't
The text was updated successfully, but these errors were encountered: