diff --git a/syntaxes/tcl.tmLanguage.json b/syntaxes/tcl.tmLanguage.json index 2d7bc5f..ace983e 100644 --- a/syntaxes/tcl.tmLanguage.json +++ b/syntaxes/tcl.tmLanguage.json @@ -1,30 +1,19 @@ { - "fileTypes": [ - "tcl" - ], + "fileTypes": [ "tcl" ], "name": "tcl", "patterns": [ - { - "include": "#main" - } + { "include": "#main" } ], "scopeName": "source.tcl", + "uuid": "c7017136-2ff2-48e9-bdb0-570cf238b4a2", "repository": { "main": { - "patterns": [ - { - "include": "#command" - } - ] + "patterns": [ { "include": "#command" } ] }, "args": { "patterns": [ - { - "include": "#quoted_args" - }, - { - "include": "#numeric" - }, + { "include": "#quoted_args" }, + { "include": "#numeric" }, { "match": "((?<=;)\\s*#.*$)", "name": "comment.tcl", @@ -36,22 +25,10 @@ "patterns": [ { "begin": "((?(?:\\\\{|\\\\}|[^\\x{007b}\\x{007d}])*)*)})", "captures": { - "1": { - "name": "keyword.tcl" - }, - "2": { - "name": "entity.name.function.tcl" - }, - "3": { - "name": "none.tcl" - } + "1": { "name": "keyword.tcl" }, + "2": { "name": "entity.name.function.tcl" }, + "3": { "name": "none.tcl" } }, "comment": "Proc command." }, + { "include": "#regexp" }, + { "include": "#keywords" }, { - "include": "#regexp" - }, - { - "include": "#keywords" - }, - { - "match": "(^\\s*\\S+|(?:(?<=[^\\x{005c}]\\[)[^\\s\\]]++(?!\\])))", + "match": "(^\\s*[^\\s\\x{0022}]+|(?:(?<=[^\\x{005c}]\\[)[^\\s\\]]+))", "name": "keyword.tcl", "comment": "All other commands. (NOTE: Iro doesn't support possessive quantifiers, but the grammar does; be sure to replace the second + with ++ after regenerating!)" }, - { - "include": "#args" - } + { "include": "#args" } ] }, "command__1": { "patterns": [ - { - "include": "#keywords" - }, - { - "include": "#args" - } + { "include": "#keywords" }, + { "include": "#args" } ] }, "embedded": { "patterns": [ { "begin": "((?