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
formatOnSafe does not yet integrate with conform. Though an integration might be added as a followup to #749. Until then I might add a warning to the documentation.
Conform does have it's own option for formatting on/after save (in general, doesn't seem toggleable per buffer?), but it is broken in the current nvf module. I'll pr the fix, it's just allowing null.pr.
If you sometimes want it off, you may be able to get by by disabling it by default and formatting using a keybind?
Description
When using conform, the buffer local variable for disabling formatting is not checked.
I added this to my config to handle the issue:
👟 Reproduction steps
👀 Expected behavior
ltf should toggle formatting on save.
😓 Actual Behavior
formatting happens.
💻 Metadata
❯ nix-shell -p nix-info --run "nix-info -m" - system:
"aarch64-linux"
- host os:Linux 6.1.128-rt49, NixOS, 24.11 (Vicuna), 24.11.20250313.cdd2ef0
- multi-user?:yes
- sandbox:yes
- version:nix-env (Nix) 2.24.12
- nixpkgs:/nix/store/vawkv67jxh8kl4flrqgpcsmn9inqgvjv-source
📝 Relevant log output
The text was updated successfully, but these errors were encountered: