diff --git a/docs/index-formatters.md b/docs/index-formatters.md index d5bcf9e..8d65570 100644 --- a/docs/index-formatters.md +++ b/docs/index-formatters.md @@ -3,4 +3,4 @@ In order to catch up with all the formatter available for different programming language, we create two file as our guideline for each formatter's creator. 1. [Formatter Specifications](./formatters-spec.md) - Guideline to have smooth integration with `treefmt` -1. [Formatter Example](./formatters.md) - List formatter available with the config example to be inserted in `treefmt.tom` +1. [Formatter Example](./formatters.md) - List formatter available with the config example to be inserted in `treefmt.toml` diff --git a/src/eval_cache.rs b/src/eval_cache.rs index 2ab8571..d7beb69 100644 --- a/src/eval_cache.rs +++ b/src/eval_cache.rs @@ -62,7 +62,7 @@ impl CacheManifest { Ok(manifest) } - /// Always loads the manifest. If an error occured, log and return an empty manifest. + /// Always loads the manifest. If an error occurred, log and return an empty manifest. #[must_use] pub fn load(cache_dir: &Path, treefmt_toml: &Path) -> Self { match Self::try_load(cache_dir, treefmt_toml) { diff --git a/treefmt.toml b/treefmt.toml index e0ca41d..85ed29b 100644 --- a/treefmt.toml +++ b/treefmt.toml @@ -29,7 +29,7 @@ excludes = ["examples/haskell/"] [formatter.nix] command = "nixpkgs-fmt" includes = ["*.nix"] -# Act as an example on how to exlude specific files +# Act as an example on how to exclude specific files excludes = ["examples/nix/sources.nix"] [formatter.ruby]