Skip to content

Instantly share code, notes, and snippets.

@akiomik
Created December 19, 2013 15:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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