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