Commit 4ce0462
changed Conform's format_on_save lambda so that buffers that match disable_filetypes return nil. This allows you to enable a formatter for langages in the disable_filetypes table to have a formatter that can be run manually with Leader-f but doesnt enable format_on_save for them (nvim-lua#1395)
1 parent b316edf commit 4ce0462
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
754 | 753 | | |
755 | | - | |
| 754 | + | |
756 | 755 | | |
757 | | - | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
758 | 760 | | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | 761 | | |
764 | 762 | | |
765 | 763 | | |
| |||
0 commit comments