diff options
Diffstat (limited to 'git/.gitconfig')
-rw-r--r-- | git/.gitconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig index c69c5fc..a368099 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -14,6 +14,7 @@ branch = auto ui = true [core] + attributesfile = ~/.gitattributes excludesfile = ~/.gitignore editor = nvim whitespace = blank-at-eol,blank-at-eof,space-before-tab,tab-indent @@ -42,3 +43,8 @@ ff = only [init] defaultBranch = main + +[diff "clean"] + xfuncname = "^((\\S.*)?::.*)$" +[diff "wat"] + xfuncname = "^\\s*(\\((func|module).*)$" |