Commit 0593b68
committed
latexindent: add hooks.latexindent.settings.disableExtraFiles option
Add the hooks.latexindent.settings.disableExtraFiles option to prevent
the creation of backup and log files.
Upstream refuses adding an option to disable backup and log file
creation to protect non-version-controlled users from data loss, despite
it being considered unnecessary for those using version control. [1] [2]
[3] Considering that Git is the standard in Nix and required for flakes,
providing this option is reasonable.
[1]: cmhughes/latexindent.pl#145
[2]: cmhughes/latexindent.pl#333
[3]: cmhughes/latexindent.pl#354
Link: cachix#5141 parent 7dca34c commit 0593b68
1 file changed
+41
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
634 | 641 | | |
635 | 642 | | |
636 | 643 | | |
| |||
2768 | 2775 | | |
2769 | 2776 | | |
2770 | 2777 | | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
2771 | 2781 | | |
2772 | 2782 | | |
2773 | 2783 | | |
2774 | 2784 | | |
2775 | 2785 | | |
2776 | 2786 | | |
2777 | | - | |
2778 | | - | |
2779 | | - | |
2780 | | - | |
2781 | | - | |
2782 | | - | |
2783 | | - | |
2784 | | - | |
2785 | | - | |
2786 | | - | |
| 2787 | + | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
| 2793 | + | |
| 2794 | + | |
| 2795 | + | |
| 2796 | + | |
| 2797 | + | |
| 2798 | + | |
| 2799 | + | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
| 2806 | + | |
| 2807 | + | |
| 2808 | + | |
| 2809 | + | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
| 2814 | + | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
2787 | 2818 | | |
2788 | 2819 | | |
2789 | 2820 | | |
| |||
0 commit comments