Skip to content

Commit

Permalink
Remove snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartl committed Apr 3, 2012
1 parent 46e9161 commit 1a74013
Show file tree
Hide file tree
Showing 11 changed files with 246 additions and 60 deletions.
63 changes: 63 additions & 0 deletions CustomTestConsole.tmTheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>TestConsoleTheme</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#000000</string>
<key>caret</key>
<string>#A7A7A7</string>
<key>foreground</key>
<string>#F8F8F8</string>
<key>invisibles</key>
<string>#CAE2FB3D</string>
<key>lineHighlight</key>
<string>#FFFFFF0D</string>
<key>selection</key>
<string>#DDF0FF33</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Test</string>
<key>scope</key>
<string>test.pass</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#00FF00</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Test</string>
<key>scope</key>
<string>test.error</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FF0000</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Test</string>
<key>scope</key>
<string>test.fail</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FF0000</string>
</dict>
</dict>
</array>
<key>uuid</key>
<string>72174d10-bb12-11e0-962b-112233445577</string>
</dict>
</plist>
183 changes: 183 additions & 0 deletions RSpec.tmLanguage
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>spec.rb</string>
</array>
<key>foldingStartMarker</key>
<string>(?x)^
(\s*+
(module|class|def
|unless|if
|case
|begin
|for|while|until
|^=begin
|( "(\\.|[^"])*+" # eat a double quoted string
| '(\\.|[^'])*+' # eat a single quoted string
| [^#"'] # eat all but comments and strings
)*
( \s (do|begin|case)
| (?&lt;!\$)[-+=&amp;|*/~%^&lt;&gt;~] \s*+ (if|unless)
)
)\b
(?! [^;]*+ ; .*? \bend\b )
|( "(\\.|[^"])*+" # eat a double quoted string
| '(\\.|[^'])*+' # eat a single quoted string
| [^#"'] # eat all but comments and strings
)*
( \{ (?! [^}]*+ \} )
| \[ (?! [^\]]*+ \] )
)
).*$
| [#] .*? \(fold\) \s*+ $ # Sune’s special marker
</string>
<key>foldingStopMarker</key>
<string>(?x)
( (^|;) \s*+ end \s*+ ([#].*)? $
| (^|;) \s*+ end \. .* $
| ^ \s*+ [}\]] \s*+ ([#].*)? $
| [#] .*? \(end\) \s*+ $ # Sune’s special marker
| ^=end
)</string>
<key>keyEquivalent</key>
<string>^~R</string>
<key>name</key>
<string>RSpec</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>(?&lt;!\.)\b(before|after)\b(?![?!])</string>
<key>name</key>
<string>keyword.other.rspec</string>
</dict>
<dict>
<key>include</key>
<string>#behaviour</string>
</dict>
<dict>
<key>include</key>
<string>#single-line-example</string>
</dict>
<dict>
<key>include</key>
<string>#pending</string>
</dict>
<dict>
<key>include</key>
<string>#example</string>
</dict>
<dict>
<key>include</key>
<string>source.ruby</string>
</dict>
</array>
<key>repository</key>
<dict>
<key>behaviour</key>
<dict>
<key>begin</key>
<string>^\s*(describe|context)\b</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.other.rspec.behaviour</string>
</dict>
</dict>
<key>end</key>
<string>\b(do)\s*$</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.control.ruby.start-block</string>
</dict>
</dict>
<key>name</key>
<string>meta.rspec.behaviour</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.ruby</string>
</dict>
</array>
</dict>
<key>example</key>
<dict>
<key>begin</key>
<string>^\s*(it|specify)\b</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.other.rspec.example</string>
</dict>
</dict>
<key>end</key>
<string>\b(do)\s*$</string>
<key>endCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.control.ruby.start-block</string>
</dict>
</dict>
<key>name</key>
<string>meta.rspec.example</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.ruby</string>
</dict>
</array>
</dict>
<key>pending</key>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.other.rspec.pending</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.ruby</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(it|specify)\s+(.*[^do])\s*$</string>
<key>name</key>
<string>meta.rspec.pending</string>
</dict>
<key>single-line-example</key>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.other.rspec.example</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(it|specify)\s*{</string>
</dict>
</dict>
<key>scopeName</key>
<string>source.ruby.rspec</string>
<key>uuid</key>
<string>923F0A10-96B9-4792-99A4-94FEF66E0B8C</string>
</dict>
</plist>
8 changes: 0 additions & 8 deletions before-end.sublime-snippet

This file was deleted.

6 changes: 0 additions & 6 deletions before-one-line.sublime-snippet

This file was deleted.

8 changes: 0 additions & 8 deletions describe-end.sublime-snippet

This file was deleted.

6 changes: 0 additions & 6 deletions hash-pair-(-).sublime-snippet

This file was deleted.

8 changes: 0 additions & 8 deletions it-description-end.sublime-snippet

This file was deleted.

6 changes: 0 additions & 6 deletions it-one-line.sublime-snippet

This file was deleted.

6 changes: 0 additions & 6 deletions its.sublime-snippet

This file was deleted.

6 changes: 0 additions & 6 deletions let-bang.sublime-snippet

This file was deleted.

6 changes: 0 additions & 6 deletions let.sublime-snippet

This file was deleted.

0 comments on commit 1a74013

Please sign in to comment.