Skip to content

Commit 1088354

Browse files
author
Blake Gearin
committed
Add not equals to comparisons
1 parent 8b6e9fa commit 1088354

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

syntaxes/pulpscript.tmLanguage.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"comparisons": {
128128
"patterns": [
129129
{
130-
"begin": "\\b([0-9]+)(==|<=|>=)([0-9]+)",
130+
"begin": "\\b([0-9]+)(==|!=|<=|>=)([0-9]+)",
131131
"beginCaptures": {
132132
"0": {
133133
"name": "constant.numeric.pulpscript"
@@ -142,7 +142,7 @@
142142
"end": "\\b"
143143
},
144144
{
145-
"begin": "\\b(\\w+)(==|<=|>=)([0-9]+)",
145+
"begin": "\\b(\\w+)(==|!=|<=|>=)([0-9]+)",
146146
"beginCaptures": {
147147
"0": {
148148
"name": "constant.numeric.pulpscript"
@@ -157,7 +157,7 @@
157157
"end": "\\b"
158158
},
159159
{
160-
"begin": "\\b([0-9]+)(==|<=|>=)(\\w+)",
160+
"begin": "\\b([0-9]+)(==|!=|<=|>=)(\\w+)",
161161
"beginCaptures": {
162162
"0": {
163163
"name": "variable.pulpscript"
@@ -173,7 +173,7 @@
173173
},
174174
{
175175
"name": "keyword.operator.comparison.pulpscript",
176-
"match": "(==|<=|>=)"
176+
"match": "(==|!=|<=|>=)"
177177
}
178178
]
179179
},

0 commit comments

Comments
 (0)