From a3dcf14bbc08344e3a73d1b0645c72c751e7fbd7 Mon Sep 17 00:00:00 2001 From: Oday <62345757+0sawaqed@users.noreply.github.com> Date: Tue, 26 May 2020 20:25:34 -0400 Subject: [PATCH] Update poweron.language.json --- syntaxes/poweron.language.json | 46 +++++++++++++--------------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/syntaxes/poweron.language.json b/syntaxes/poweron.language.json index 9bf83ad..23e0074 100644 --- a/syntaxes/poweron.language.json +++ b/syntaxes/poweron.language.json @@ -15,9 +15,6 @@ }, { "include": "#comment" - }, - { - "include": "#operator" } ], "repository": { @@ -54,7 +51,7 @@ "patterns": [ { "name": "keyword.control.poweron", - "match": "[\\s]*(?i)(IF|ELSE|WHILE|FOR)[\\s]+" + "match": "(?i)(?|<|<=|>=|\\*|<>)\\b(?![?!])" + } + ] + }, + "character": { "name": "string.quoted.double.poweron", "begin": "\"", @@ -134,7 +143,7 @@ }, { "name": "storage.type.poweron", - "match": "[\\s]*(?i)(CHARACTER|CODE|DATE|FLOAT|MONEY|NUMBER|RATE)[\\s]+" + "match": "(?i)(?|<|<=|>=|\\*|<>|\\|)[\\s]+" - } - ] - }, - "equalOperator": { - "patterns": [ - { - "name": "support.function.thing.poweron", - "match": "=" - } - ] - }, "variable": { "patterns": [ {