Skip to content

Instantly share code, notes, and snippets.

@mfwarren
Created January 24, 2011 16:34
Show Gist options
  • Select an option

  • Save mfwarren/793482 to your computer and use it in GitHub Desktop.

Select an option

Save mfwarren/793482 to your computer and use it in GitHub Desktop.

Revisions

  1. mfwarren created this gist Jan 24, 2011.
    7 changes: 7 additions & 0 deletions .ctags
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    --langdef=groovy
    --langmap=groovy:.groovy
    --regex-groovy=/^[ \t]*[(private|public|protected) ( \t)]*def[ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1/f,function,functions/
    --regex-groovy=/^[ \t]*private def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/v,private,private variables/
    --regex-groovy=/^[ \t]*public def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/u,public,public variables/
    --regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*class[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/
    --regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*enum[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/