dotfiles/jujutsu/.config/jj/config.toml

41 lines
1,001 B
TOML

[user]
name = "Bruno Carlin"
email = "dev@mail.bcarlin.net"
[ui]
default-command = "log"
graph.style = "curved"
editor = "nvim"
diff-editor = ["nvim", "-c", "DiffEditor $left $right $output"]
merge-editor = "nvim"
diff.tool = ["delta", "--syntax-theme", "Solarized (dark)", "$left", "$right"]
show-cryptographic-signatures = true
[merge-tools.nvim]
diff-args = ["-d", "$left", "$right"]
merge-args = ["-d", "$left", "$output", "$right", "-c", "wincmd l"]
merge-tool-edits-conflict-markers = true
[signing]
behavior = "own"
backend = "gpg"
[colors]
"rest" = "bright green"
"working_copy empty" = "green"
"working_copy empty description placeholder" = "green"
"working_copy commit_id" = "blue"
"working_copy change_id" = "magenta"
"working_copy timestamp" = "cyan"
[templates]
draft_commit_description = '''
concat(
coalesce(description, "\n"),
surround(
"\nJJ: This commit contains the following changes:\n", "",
indent("JJ: ", diff.summary() ++ "\n\n" ++ diff.git()),
),
)
'''