Commit 46befe2
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 671ac89 commit 46befe2
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
775 | 774 | | |
776 | | - | |
| 775 | + | |
777 | 776 | | |
778 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
779 | 781 | | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | 782 | | |
785 | 783 | | |
786 | 784 | | |
| |||
0 commit comments