Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CS.JSON-tmLanguage → Choice Script.JSON-tmLanguage
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ "name": "CS",
{ "name": "Choice Script",
"scopeName": "source.cs",
"fileTypes": ["txt"],
"patterns": [
Expand All @@ -24,7 +24,7 @@
},
{
"comment":"keywords",
"match":"\\*(allow_reuse|choice|create|delete|disable_reuse|else|elseif|elsif|ending|finish|fake_choice|gosub|goto_scene|goto|goto_random_scene|hide_reuse|if|input_text|input_number|image|label|line_break|link|more_games|page_break|print|rand|return|set|share_this_game|star_chart|selectable_if|temp)",
"match":"\\*(allow_reuse|choice|create|delete|disable_reuse|else|elseif|elsif|ending|finish|stat_chart|text|opposed_pair|fake_choice|gosub|goto_scene|goto|goto_random_scene|hide_reuse|if|input_text|input_number|image|label|line_break|link|more_games|page_break|print|rand|return|set|share_this_game|selectable_if|temp|setref|percent|gotoref)",
"name":"keyword.control.cs"
},
{
Expand All @@ -45,4 +45,4 @@

],
"uuid": "c4ce72c6-2a40-4270-8d8c-c700517a65a5"
}
}
4 changes: 2 additions & 2 deletions CS.tmLanguage → Choice Script.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<string>txt</string>
</array>
<key>name</key>
<string>CS</string>
<string>Choice Script</string>
<key>patterns</key>
<array>
<dict>
Expand Down Expand Up @@ -46,7 +46,7 @@
<key>comment</key>
<string>keywords</string>
<key>match</key>
<string>\*(allow_reuse|choice|create|delete|disable_reuse|else|elseif|elsif|ending|finish|fake_choice|gosub|goto_scene|goto|goto_random_scene|hide_reuse|if|input_text|input_number|image|label|line_break|link|more_games|page_break|print|rand|return|set|share_this_game|star_chart|selectable_if|temp)</string>
<string>\*(allow_reuse|choice|create|delete|percent|disable_reuse|else|elseif|elsif|ending|finish|fake_choice|gosub|goto_scene|goto|goto_random_scene|hide_reuse|if|input_text|input_number|image|label|line_break|link|more_games|page_break|print|rand|return|set|share_this_game|stat_chart|selectable_if|temp|text|opposed_pair|setref|gotoref)</string>
<key>name</key>
<string>keyword.control.cs</string>
</dict>
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Choice Script
============

Sublime Text 2/3 syntax highlighting for Choice Script

Install:

Prefered installation through package control https://github.com/wbond/sublime.wbond.net

Manual Install:
1. From Sublime text go to preferences and then browse packages.
2. Drag and drop the files included in the zip into that directory.
3. Do not put them in a folder just place them all alone.