Skip to content

Instantly share code, notes, and snippets.

@dwins
Created May 21, 2010 15:37
Show Gist options
  • Save dwins/408988 to your computer and use it in GitHub Desktop.
Save dwins/408988 to your computer and use it in GitHub Desktop.
--langdef=scala
--langmap=scala:.scala
--regex-scala=/object[ \t]+([a-zA-Z0-9]+)/\1/o,object/
--regex-scala=/trait[ \t]+([a-zA-Z0-9]+)/\1/t,trait/
--regex-scala=/\s*(type|class)[ \t]+([a-zA-Z0-9]+)/\2/c,class/
--regex-scala=/def[ \t]+([a-zA-Z0-9]+)/\1/f,function/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment