Skip to content

Commit

Permalink
Remove unused keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jun 10, 2011
1 parent 503f3f6 commit 1878886
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 62 deletions.
2 changes: 1 addition & 1 deletion Preferences/Indent.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>increaseIndentPattern</key>
<string>(?x)^
(\s*
(module|object|def
(module|def
|unless|if|else|elsif
|case|match|receive
|begin|rescue|after
Expand Down
18 changes: 0 additions & 18 deletions Snippets/object ___ end.tmSnippet

This file was deleted.

45 changes: 3 additions & 42 deletions Syntaxes/Elixir.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This bundle was based on the Ruby bundle by James Edward Gray II and there is a
<key>foldingStartMarker</key>
<string>(?x)^
(\s*+
(module|object|def(?!.*\bend\s*$)
(module|def(?!.*\bend\s*$)
|unless|if
|case|receive|when
|try
Expand Down Expand Up @@ -54,45 +54,6 @@ This bundle was based on the Ruby bundle by James Edward Gray II and there is a
<string>Elixir</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.control.object.elixir</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>entity.name.type.object.elixir</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>entity.other.inherited-object.elixir</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>punctuation.separator.inheritance.elixir</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>variable.other.object.elixir</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>punctuation.definition.variable.elixir</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(object)\s+(([.a-zA-Z0-9_:]+(\s*(&lt;)\s*[.a-zA-Z0-9_:]+)?)|((&lt;&lt;)\s*[.a-zA-Z0-9_:]+))</string>
<key>name</key>
<string>meta.object.elixir</string>
</dict>
<dict>
<key>captures</key>
<dict>
Expand Down Expand Up @@ -154,7 +115,7 @@ This bundle was based on the Ruby bundle by James Edward Gray II and there is a
<key>comment</key>
<string>everything being a reserved word, not a value and needing a 'end' is a..</string>
<key>match</key>
<string>(?&lt;!\.)\b(begin|case|receive|object|else|elsif|END|end|after|for|if|in|module|try|catch|then|unless|when|match)\b(?![?!])</string>
<string>(?&lt;!\.)\b(begin|case|receive|else|elsif|END|end|after|for|if|in|module|try|catch|then|unless|when|match)\b(?![?!])</string>
<key>name</key>
<string>keyword.control.elixir</string>
</dict>
Expand Down Expand Up @@ -206,7 +167,7 @@ This bundle was based on the Ruby bundle by James Edward Gray II and there is a
<key>comment</key>
<string> everything being a method but having a special function is a..</string>
<key>match</key>
<string>\b(initialize|new|loop|include|extend|raise|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|module_function|public|protected|callbacks)\b(?![?!])</string>
<string>\b(initialize|loop|mixin|attr_reader|attr_writer|attr_accessor|catch|error|throw|exit|private|public|protected)\b(?![?!])</string>
<key>name</key>
<string>keyword.other.special-method.elixir</string>
</dict>
Expand Down
1 change: 0 additions & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<string>868014EE-AC0F-48B6-AFCC-E4DA446E58C2</string>
<string>B7C61ED5-9215-4CF1-87BF-BBA4A656D41E</string>
<string>C7985E66-F271-48BD-A5A8-B4A7DA732593</string>
<string>6F931265-3CAA-4AAC-8A11-B49F8807E6D1</string>
<string>6CE083B3-2738-49C3-8B50-D7B27F759B10</string>
<string>0F4CBF04-F2F9-4B2C-B74A-E2F44AA7D6CF</string>
<string>9AE4B114-2F98-4FAC-9F3B-EFB6004B1422</string>
Expand Down

0 comments on commit 1878886

Please sign in to comment.