Skip to content

Added Keywords + Fixed For Codeivate Integration #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
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.