cmhughes / latexindent.pl

Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customisable through its YAML interface.
GNU General Public License v3.0
864 stars 84 forks source link

Fix typo for fineTuning:trailingComments:notPrecededBy #546

Closed teatimeguest closed 2 months ago

teatimeguest commented 2 months ago

what is this pull request about?

Fixed notPreceededBy to notPrecededBy. Similar typos in comments and docs were fixed in #410, but still remained in code.

does this relate to an existing issue?

No.

does this change any existing behaviour?

Yes.

what does this add?

I have made changes with reference to this commit. For backward compatibility, the old name can still be used, but a warning message will be issued.

Also updated the JSON Schema file accordingly, with the old name deprecated.

anything else?

I am not very familiar with Perl, so I would apologize for any rudimentary mistakes.

cmhughes commented 2 months ago

Many thanks for your contribution. I hope to get to this over the weekend.

cmhughes commented 2 months ago

Great, many thanks again!