diff --git a/README.md b/README.md index 73ef558..8663f44 100644 --- a/README.md +++ b/README.md @@ -230,9 +230,9 @@ directory for more details. ### Pre-commit hook -You can format your LaTeX files before every commit using -[pre-commit](http://pre-commit.com) with the following `.pre-commit-config.yaml` -in your repository root: +tex-fmt can be run before every git commit using +[pre-commit](http://pre-commit.com) with the following +`.pre-commit-config.yaml` in your repository root: ```yaml repos: @@ -242,17 +242,13 @@ repos: - id: tex-fmt ``` -If you don't only want to prevent committing on unformatted -documents but don't want them automatically formatted, add: +To prevent the pre-commit hook from modifying your files, add: ```yaml - id: tex-fmt args: [--check] ``` -For more on how to use pre-commit check out their -[quick start guide](https://pre-commit.com/#quick-start)! - ## Performance When formatting all of the test cases, diff --git a/notes.org b/notes.org index 55443f6..488c8a5 100644 --- a/notes.org +++ b/notes.org @@ -18,6 +18,7 @@ *** git log --oneline --no-merges vX.X.X..main *** Write in NEWS.md ** Update version number in Cargo.toml +** Update version number for pre-commit ** Update Nix flake and lock *** Check for new NixOS version (nixos-XX.XX) for flake.nix *** just nix