Improve elisp and clojure diffs
This commit is contained in:
parent
a6ebfc0dbb
commit
5371b56438
|
@ -207,11 +207,17 @@ in
|
||||||
update-master = "!git fetch origin master:master";
|
update-master = "!git fetch origin master:master";
|
||||||
update-main = "!git fetch origin main:main";
|
update-main = "!git fetch origin main:main";
|
||||||
};
|
};
|
||||||
|
attributes = [
|
||||||
|
"*.el diff=elisp"
|
||||||
|
"*.clj diff=clojure"
|
||||||
|
];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core.editor = "vim";
|
core.editor = "vim";
|
||||||
diff = {
|
diff = {
|
||||||
tool = "difftastic";
|
tool = "difftastic";
|
||||||
colorMoved = "default";
|
colorMoved = "default";
|
||||||
|
elisp = { xfuncname = "^\\((((def\\S+)|use-package)\\s+\\S+)"; };
|
||||||
|
clojure = { xfuncname = "^\\((def\\S+\\s+\\S+)"; };
|
||||||
};
|
};
|
||||||
difftool = {
|
difftool = {
|
||||||
prompt = false;
|
prompt = false;
|
||||||
|
|
Loading…
Reference in New Issue