Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gitattributes for scala
*.scala diff=scala
[core]
attributesfile = ~/.gitattributes
[diff "scala"]
xfuncname = "^\\s*(.*(def|object|class|trait) .*)$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment