Commit 787ce20
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 8c3669c commit 787ce20
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
758 | 757 | | |
759 | | - | |
| 758 | + | |
760 | 759 | | |
761 | | - | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
762 | 764 | | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | 765 | | |
768 | 766 | | |
769 | 767 | | |
| |||
0 commit comments