Created
January 24, 2011 16:34
-
-
Save mfwarren/793482 to your computer and use it in GitHub Desktop.
my .ctags syntax file for Groovy language (exuberant-ctags)
I've found that the function line needs the following tweaking:
--regex-groovy=/^[ \t]*[(static|private|public|protected) \t]*(def|[A-Za-z0-9_.]+)[ \t]+([A-Za-z0-9_]+)[ \t]*\(/\2/f,function,functions/
Beyond that, the rest of the .ctags file worked for me
I've worked up some rules that match a lot more syntax—they're on my fork of this gist, on the Tagbar wiki, and submitted as a pull request to a vim-gradle plugin that includes ctags and Tagbar config built-in.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This alteration supports methods of the form
def whatever = {
: