jj/cli/tests/sample-configs/valid/ui_multi_arg_cmds.toml
Yuya Nishihara 851d25cd68 cli: unify diff format/tool config variables
This allows users to override the external tool set in ~/.jjconfig.toml. The
config variable is renamed to ui.diff-formatter to be consistent with the other
diff/merge editor settings.

--tool=:<format> support will be added separately.

Closes #3327
2025-05-16 00:33:49 +00:00

9 lines
385 B
TOML

#:schema ../../../src/config-schema.json
[ui]
default-command = ["log", "--reversed"]
pager = ["bat", "-p"]
editor = ["C:/Program Files/Notepad++/notepad++.exe", "-multiInst", "-notabbar", "-nosession", "-noPlugin"]
diff-editor = ["diffedit3", "$left", "$right"]
diff-formatter = ["difft", "--color=always", "$left", "$right"]
merge-editor = ["diffedit3", "$left", "$base", "$right"]