Skip to content

Instantly share code, notes, and snippets.

@akiomik
Created December 19, 2013 15:30
Show Gist options
  • Save akiomik/8040990 to your computer and use it in GitHub Desktop.
Save akiomik/8040990 to your computer and use it in GitHub Desktop.
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