jj/cli/tests/sample-configs/valid/fix.tools.command_command-env.toml
Jonas Greitemann bf2c01e74b config-schema: allow "command-env"-style for editors and fix tools
The `CommandNameAndArgs` struct is used in multiple places to specify
external tools. Previously, the schema only allowed for this in
`ui.pager`.

This commit adds a few sample configs which define variables editors and
fix tools as commands with env vars.

The schema has also been updated to make these valid.
2025-04-24 15:48:08 +00:00

8 lines
188 B
TOML

#:schema ../../../src/config-schema.json
[fix.tools.clang-format.command]
command = [
"/usr/bin/clang-format",
"--sort-includes",
"--assume-filename=$path",
]
env = { NO_COLOR = 1 }