Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added support for 'fun Module:Name/Arity' expressions.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Erlang.tmbundle@5002 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit eb9fca4adecf18abf405ca9d67efc61f512bfb0c 1 parent 056cbcb
@mietek mietek authored
Showing with 32 additions and 0 deletions.
  1. +32 −0 Syntaxes/Erlang.plist
View
32 Syntaxes/Erlang.plist
@@ -572,6 +572,38 @@
</array>
</dict>
<dict>
+ <key>captures</key>
+ <dict>
+ <key>1</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.control.fun.erlang</string>
+ </dict>
+ <key>3</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.type.class.module.erlang</string>
+ </dict>
+ <key>4</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.operator.punctuation.erlang</string>
+ </dict>
+ <key>5</key>
+ <dict>
+ <key>name</key>
+ <string>entity.name.function.erlang</string>
+ </dict>
+ <key>6</key>
+ <dict>
+ <key>name</key>
+ <string>keyword.operator.punctuation.erlang</string>
+ </dict>
+ </dict>
+ <key>match</key>
+ <string>\b(fun)\s*+(([a-z][a-zA-Z\d@_]*+)\s*+(:)\s*+)?([a-z][a-zA-Z\d@_]*+)\s*(/)</string>
+ </dict>
+ <dict>
<key>begin</key>
<string>\b(fun)\b</string>
<key>beginCaptures</key>
Please sign in to comment.
Something went wrong with that request. Please try again.