diff --git a/vcs/jj/config/jj/config.toml b/vcs/jj/config/jj/config.toml index 134f553..05f0890 100644 --- a/vcs/jj/config/jj/config.toml +++ b/vcs/jj/config/jj/config.toml @@ -13,10 +13,14 @@ private-commits = "description(glob-i:'WIP:*') | description(glob-i:'PRIVATE:*') [ui] default-command = "log" diff-editor = ["nvim", "-c", "DiffEditor $left $right $output"] -pager = "delta" -[ui.diff] -format = "git" # for the time being to use delta well +# use delta as formatter but _only_ for diff and show +# see: https://github.com/jj-vcs/jj/discussions/4690#discussioncomment-12388965 +[[--scope]] +--when.commands = ["diff", "show"] +[--scope.ui] +pager = "delta" +diff-formatter = ":git" [aliases] # see: https://shaddy.dev/notes/jj-tug/, update most recent bookmark