Skip to content

Instantly share code, notes, and snippets.

@samaaron
Created January 2, 2009 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samaaron/42618 to your computer and use it in GitHub Desktop.
Save samaaron/42618 to your computer and use it in GitHub Desktop.
Current marker matchers:
foldingStartMarker = '( method\( (?! [^)]*+ \) )';
foldingStopMarker = '\s*+\)';
I'd like it to create folding markers for the outer ()s in all of the following examples (i.e. for it to ignore indentation)
method(
foo()
bar()
baz()
)
OR:
method(
foo()
bar()
baz()
)
OR:
method(
foo(). bar()
baz())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment