Skip to content

Commit a1f249c

Browse files
committed
integer constants
1 parent ead90f2 commit a1f249c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/dfm.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"patterns": [
3030
{
3131
"name": "constant.numeric.dfm",
32-
"match": "\\W\\d+"
32+
"match": "\\b\\d+\\b"
3333
},
3434
{
3535
"name": "constant.language.dfm",
@@ -50,7 +50,7 @@
5050
"entities": {
5151
"patterns": [
5252
{
53-
"match": "(\\w+):\\s+(\\w+)",
53+
"match": "\\s+(\\w+)\\s*:\\s+(\\w+)",
5454
"captures": {
5555
"1": {
5656
"name": "variable.parameter.dfm"

0 commit comments

Comments
 (0)