mirror of
https://github.com/jj-vcs/jj.git
synced 2025-12-23 06:01:01 +00:00
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
15 lines
491 B
TOML
15 lines
491 B
TOML
#:schema ../../../src/config-schema.json
|
|
[ui]
|
|
editor = { command = ["C:/Program Files/Notepad++/notepad++.exe", "-multiInst", "-notabbar", "-nosession", "-noPlugin"], env = {} }
|
|
|
|
[ui.diff-editor]
|
|
command = ["diffedit3", "$left", "$right"]
|
|
env = { RUST_LOG = "poem=debug" }
|
|
|
|
[ui.merge-editor]
|
|
command = ["diffedit3", "$left", "$base", "$right"]
|
|
env = { RUST_LOG = "poem=debug" }
|
|
|
|
[ui.diff-formatter]
|
|
command = ["difft", "--color=always", "$left", "$right"]
|
|
env = { DFT_BACKGROUND = "light" }
|