Commit 528d981
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 cfee3e3 commit 528d981
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
689 | 688 | | |
690 | | - | |
| 689 | + | |
691 | 690 | | |
692 | | - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
693 | 695 | | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | 696 | | |
699 | 697 | | |
700 | 698 | | |
| |||
0 commit comments