Skip to content

Commit

Permalink
Cleaning up various syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Mar 24, 2010
1 parent 163f929 commit 6a28d0f
Show file tree
Hide file tree
Showing 23 changed files with 86 additions and 191 deletions.
2 changes: 1 addition & 1 deletion Commands/Alternate File.tmCommand
Expand Up @@ -27,7 +27,7 @@ ${TM_RUBY:-ruby} /tmp/cucumber-$$.rb; exit_status=$?; rm /tmp/cucumber-$$.rb; ex
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.cucumber.feature, source.ruby.rspec.cucumber.steps</string>
<string>text.gherkin.feature, source.ruby.rspec.cucumber.steps</string>
<key>uuid</key>
<string>6AD6154B-3EE8-43D1-B87F-6261C859AD07</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Autocomplete Step.tmCommand
Expand Up @@ -25,7 +25,7 @@ end</string>
<key>output</key>
<string>insertAsSnippet</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>uuid</key>
<string>46204E4A-2DA4-4107-9742-60F13EED58B8</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Autoformat Feature (using Cucumber).tmCommand
Expand Up @@ -22,7 +22,7 @@ runner.autoformat_feature
<key>output</key>
<string>discard</string>
<key>scope</key>
<string>text.cucumber.feature, source.ruby.rspec.cucumber.steps</string>
<string>text.gherkin.feature, source.ruby.rspec.cucumber.steps</string>
<key>uuid</key>
<string>47E22DF4-07E4-4B15-9BDC-6DB1AE434609</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Create Unimplemented Steps.tmCommand
Expand Up @@ -23,7 +23,7 @@ ${TM_RUBY:-ruby} /tmp/cucumber-$$.rb; exit_status=$?; rm /tmp/cucumber-$$.rb; ex
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.cucumber.feature, source.ruby.cucumber.steps</string>
<string>text.gherkin.feature, source.ruby.cucumber.steps</string>
<key>uuid</key>
<string>A165BB7A-E147-499B-8DF2-CA1FC9049298</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Goto Current Step.tmCommand
Expand Up @@ -25,7 +25,7 @@ ${TM_RUBY:-ruby} /tmp/cucumber-$$.rb; exit_status=$?; rm /tmp/cucumber-$$.rb; ex
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.cucumber.feature, source.ruby.cucumber.steps</string>
<string>text.gherkin.feature, source.ruby.cucumber.steps</string>
<key>uuid</key>
<string>8E156A1E-AF51-4CFB-949F-47B6BCE6E6EC</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Commands/List included step files.tmCommand
Expand Up @@ -27,7 +27,7 @@ ${TM_RUBY:-ruby} /tmp/cucumber-$$.rb; exit_status=$?; rm /tmp/cucumber-$$.rb; ex
<key>output</key>
<string>showAsTooltip</string>
<key>scope</key>
<string>text.cucumber.feature, source.ruby.rspec.cucumber.steps</string>
<string>text.gherkin.feature, source.ruby.rspec.cucumber.steps</string>
<key>uuid</key>
<string>2BCE4864-D70A-4C51-B49D-FB3220130B74</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Run Single Scenario.tmCommand
Expand Up @@ -27,7 +27,7 @@ ${TM_RUBY:-ruby} /tmp/cucumber-$$.rb; exit_status=$?; rm /tmp/cucumber-$$.rb; ex
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>uuid</key>
<string>7B92D0E5-FCF2-4CE0-A900-821E7EA000C7</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Commands/Run Story.tmCommand
Expand Up @@ -27,7 +27,7 @@ ${TM_RUBY:-ruby} /tmp/cucumber-$$.rb; exit_status=$?; rm /tmp/cucumber-$$.rb; ex
<key>output</key>
<string>showAsHTML</string>
<key>scope</key>
<string>text.cucumber.feature, source.ruby.rspec.cucumber.steps</string>
<string>text.gherkin.feature, source.ruby.rspec.cucumber.steps</string>
<key>uuid</key>
<string>1531D367-DCDF-4F89-8BDB-896FAA16830E</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Preferences/Comments.tmPreferences
Expand Up @@ -5,7 +5,7 @@
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
Expand Down
Expand Up @@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>name</key>
<string>Cucumber Plain Text Feature Completions</string>
<string>Gherkin Completions</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>settings</key>
<dict>
<key>completions</key>
Expand All @@ -21,6 +21,7 @@
<string>Then</string>
<string>When</string>
<string>And</string>
<string>But</string>
</array>
</dict>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Preferences/Symbol list: Scenario.tmPreferences
Expand Up @@ -5,7 +5,7 @@
<key>name</key>
<string>Symbol list: Scenario</string>
<key>scope</key>
<string>text.cucumber.feature string.language.cucumber.feature.scenario.title</string>
<string>text.gherkin.feature string.language.gherkin.scenario.title</string>
<key>settings</key>
<dict>
<key>showInSymbolList</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Scenario (heading only).tmSnippet
Expand Up @@ -9,7 +9,7 @@ $0
<key>name</key>
<string>Scenario (heading only)</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>tabTrigger</key>
<string>sc</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Scenario Outline.tmSnippet
Expand Up @@ -11,7 +11,7 @@
<key>name</key>
<string>Scenario Outline</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>tabTrigger</key>
<string>sco</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Scenario.tmSnippet
Expand Up @@ -13,7 +13,7 @@ $0
<key>name</key>
<string>Scenario</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>tabTrigger</key>
<string>sce</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Story.tmSnippet
Expand Up @@ -16,7 +16,7 @@
<key>name</key>
<string>Feature</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>tabTrigger</key>
<string>fea</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Then Step Plaintext.tmSnippet
Expand Up @@ -7,7 +7,7 @@
<key>name</key>
<string>Then Step Plaintext</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>tabTrigger</key>
<string>the</string>
<key>uuid</key>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/When Step Plaintext.tmSnippet
Expand Up @@ -7,7 +7,7 @@
<key>name</key>
<string>When Step Plaintext</string>
<key>scope</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>tabTrigger</key>
<string>whe</string>
<key>uuid</key>
Expand Down
20 changes: 10 additions & 10 deletions Syntaxes/Cucumber Plain Text Feature.tmLanguage
Expand Up @@ -20,7 +20,7 @@
<array>
<dict>
<key>include</key>
<string>#scenario_keyword</string>
<string>#feature_element_keyword</string>
</dict>
<dict>
<key>include</key>
Expand Down Expand Up @@ -60,7 +60,7 @@
</dict>
<dict>
<key>include</key>
<string>#cucumber_table</string>
<string>#table</string>
</dict>
</array>
<key>repository</key>
Expand All @@ -78,7 +78,7 @@
<key>match</key>
<string>\s*(#.*)</string>
</dict>
<key>cucumber_table</key>
<key>table</key>
<dict>
<key>begin</key>
<string>^\s*\|</string>
Expand All @@ -103,12 +103,12 @@
<key>1</key>
<dict>
<key>name</key>
<string>keyword.language.cucumber.feature</string>
<string>keyword.language.gherkin.feature</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.language.cucumber.feature.title</string>
<string>string.language.gherkin.feature.title</string>
</dict>
</dict>
<key>match</key>
Expand All @@ -121,25 +121,25 @@
<key>1</key>
<dict>
<key>name</key>
<string>keyword.language.cucumber.feature.scenario.line</string>
<string>keyword.language.gherkin.feature.step</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(하지만|조건|먼저|만일|만약|단|그리고|그러면|那麼|那么|而且|當|当|前提|假設|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|و |متى |لكن |عندما |ثم |بفرض |اذاً |כאשר |וגם |בהינתן |אזי |אז |אבל |Унда |То |Онда |Но |Лекин |Когато |Када |Кад |К тому же |И |Задато |Задати |Задате |Если |Допустим |Дадено |Ва |Бирок |Аммо |Али |Агар |А |Și |És |anrhegedig a |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Yna |Ya know how |Ya gotta |Y |Wtedy |When y\'all |When |Wenn |WEN |Và |Ve |Und |Un |Thì |Then y\'all |Then |Tapi |Tak |Tada |Tad |Så |Stel |Soit |Siis |Si |Quando |Quand |Quan |Pryd |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Når |När |Niin |Nhưng |N |Mutta |Men |Mas |Maka |Majd |Mais |Maar |Ma |Lorsque |Lorsqu\'|Kun |Kuid |Kui |Khi |Keď |Ketika |Když |Kai |Kada |Kad |Jeżeli |Ja |Ir |I CAN HAZ |I |Ha |Givet |Given y\'all |Given |Gitt |Gegeven |Gegeben sei |Fakat |Eğer ki |Etant donné |Et |Então |Entonces |Entao |En |Eeldades |E |Duota |Donat |Donada |Diyelim ki |Dengan |De |Dato |Dar |Dann |Dan |Dado |Dacă |Daca |DEN |Când |Cuando |Cho |Cept |Cand |Cal |But y\'all |But |Biết |Bet |BUT |Atès |Atunci |Atesa |Angenommen |And y\'all |And |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Aber |AN |A také |A |\* )</string>
</dict>
<key>scenario_keyword</key>
<key>feature_element_keyword</key>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.language.cucumber.feature.scenario</string>
<string>keyword.language.gherkin.feature.scenario</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.language.cucumber.feature.scenario.title</string>
<string>string.language.gherkin.scenario.title.title</string>
</dict>
</dict>
<key>match</key>
Expand Down Expand Up @@ -214,7 +214,7 @@
</dict>
</dict>
<key>scopeName</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>uuid</key>
<string>85E2C52C-9B16-4A54-81E7-6D8D3ADAEFA8</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Syntaxes/Cucumber Steps.tmLanguage
Expand Up @@ -177,7 +177,7 @@
<array>
<dict>
<key>include</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
</dict>
</array>
</dict>
Expand Down
22 changes: 11 additions & 11 deletions Syntaxes/plaintext_template.erb
Expand Up @@ -15,12 +15,12 @@
<key>keyEquivalent</key>
<string>^~C</string>
<key>name</key>
<string>Cucumber Plain Text Feature</string>
<string>Gherkin</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#scenario_keyword</string>
<string>#feature_element_keyword</string>
</dict>
<dict>
<key>include</key>
Expand Down Expand Up @@ -60,7 +60,7 @@
</dict>
<dict>
<key>include</key>
<string>#cucumber_table</string>
<string>#table</string>
</dict>
</array>
<key>repository</key>
Expand All @@ -78,7 +78,7 @@
<key>match</key>
<string>\s*(#.*)</string>
</dict>
<key>cucumber_table</key>
<key>table</key>
<dict>
<key>begin</key>
<string>^\s*\|</string>
Expand All @@ -103,12 +103,12 @@
<key>1</key>
<dict>
<key>name</key>
<string>keyword.language.cucumber.feature</string>
<string>keyword.language.gherkin.feature</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.language.cucumber.feature.title</string>
<string>string.language.gherkin.feature.title</string>
</dict>
</dict>
<key>match</key>
Expand All @@ -121,25 +121,25 @@
<key>1</key>
<dict>
<key>name</key>
<string>keyword.language.cucumber.feature.scenario.line</string>
<string>keyword.language.gherkin.feature.step</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(<%= Gherkin::I18n.keyword_regexp(:step) %>)</string>
</dict>
<key>scenario_keyword</key>
<key>feature_element_keyword</key>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.language.cucumber.feature.scenario</string>
<string>keyword.language.gherkin.feature.scenario</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.language.cucumber.feature.scenario.title</string>
<string>string.language.gherkin.scenario.title.title</string>
</dict>
</dict>
<key>match</key>
Expand Down Expand Up @@ -214,7 +214,7 @@
</dict>
</dict>
<key>scopeName</key>
<string>text.cucumber.feature</string>
<string>text.gherkin.feature</string>
<key>uuid</key>
<string>85E2C52C-9B16-4A54-81E7-6D8D3ADAEFA8</string>
</dict>
Expand Down

0 comments on commit 6a28d0f

Please sign in to comment.