diff --git a/CS.JSON-tmLanguage b/Choice Script.JSON-tmLanguage similarity index 76% rename from CS.JSON-tmLanguage rename to Choice Script.JSON-tmLanguage index 2b4e803..072cee5 100644 --- a/CS.JSON-tmLanguage +++ b/Choice Script.JSON-tmLanguage @@ -1,4 +1,4 @@ -{ "name": "CS", +{ "name": "Choice Script", "scopeName": "source.cs", "fileTypes": ["txt"], "patterns": [ @@ -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" }, { @@ -45,4 +45,4 @@ ], "uuid": "c4ce72c6-2a40-4270-8d8c-c700517a65a5" -} \ No newline at end of file +} diff --git a/CS.tmLanguage b/Choice Script.tmLanguage similarity index 83% rename from CS.tmLanguage rename to Choice Script.tmLanguage index 0bf3fbe..4aa828d 100644 --- a/CS.tmLanguage +++ b/Choice Script.tmLanguage @@ -7,7 +7,7 @@ txt name - CS + Choice Script patterns @@ -46,7 +46,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) + \*(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) name keyword.control.cs diff --git a/README.md b/README.md new file mode 100644 index 0000000..406415c --- /dev/null +++ b/README.md @@ -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.