Skip to content

Commit 3659c05

Browse files
committed
Removed unreferenced rules
1 parent 30f2335 commit 3659c05

File tree

2 files changed

+1
-108
lines changed

2 files changed

+1
-108
lines changed

client/syntaxes/vba.tmLanguage.json

Lines changed: 1 addition & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -25,35 +25,6 @@
2525
}
2626
]
2727
},
28-
"continuations": {
29-
"name": "meta.has-continuation.vba",
30-
"begin": "(?i)(.*)(\\s_\\s*)",
31-
"end": "\\n",
32-
"patterns": [
33-
{
34-
"include": "#lineContinuation"
35-
},
36-
{
37-
"include": "#fileStructure"
38-
}
39-
],
40-
"beginCaptures": {
41-
"1": {
42-
"patterns": [
43-
{
44-
"include": "#fileStructure"
45-
}
46-
]
47-
},
48-
"2": {
49-
"patterns": [
50-
{
51-
"include": "#lineContinuation"
52-
}
53-
]
54-
}
55-
}
56-
},
5728
"lineContinuation": {
5829
"name": "keyword.control.line-continuation.vba",
5930
"match": "(?<=\\s)_\\s*\\n"
@@ -232,10 +203,6 @@
232203
"name": "keyword.control.as.vba",
233204
"match": "(?i)\\bas\\b"
234205
},
235-
"kw-controlTo": {
236-
"name": "keyword.control.to.vba",
237-
"match": "(?i)\\bto\\b"
238-
},
239206
"kw-storageMe": {
240207
"name": "variable.language.me.vba",
241208
"match": "(?i)\\bme\\b"
@@ -980,22 +947,6 @@
980947
}
981948
}
982949
},
983-
"attribute": {
984-
"name": "meta.attribute.vba",
985-
"match": "(?i)^\\s*(Attribute VB_\\w+)\\s+(.*)$",
986-
"captures": {
987-
"1": {
988-
"name": "entity.other.attribute-name.vba"
989-
},
990-
"2": {
991-
"patterns": [
992-
{
993-
"include": "#language"
994-
}
995-
]
996-
}
997-
}
998-
},
999950
"moduleHeader": {
1000951
"patterns": [
1001952
{
@@ -1338,25 +1289,7 @@
13381289
{
13391290
"include": "#language"
13401291
}
1341-
],
1342-
"repository": {
1343-
"blockLines": {
1344-
"name": "source.methodlines.vba",
1345-
"match": "(?:(^(?:\\s*[a-z0-9]*?:\\s*)(?:\\s+'.*)?$)|(.*):)",
1346-
"captures": {
1347-
"1": {
1348-
"name": "source.methodlines.label.vba"
1349-
},
1350-
"2": {
1351-
"patterns": [
1352-
{
1353-
"include": "#block"
1354-
}
1355-
]
1356-
}
1357-
}
1358-
}
1359-
}
1292+
]
13601293
},
13611294
"separator": {
13621295
"name": "punctuation.separator.vba",

client/syntaxes/vba.tmLanguage.yaml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,6 @@ repository:
6262
- include: "#labels"
6363
- include: "#main"
6464

65-
continuations:
66-
name: meta.has-continuation.vba
67-
begin: (?i)(.*)(\s_\s*)
68-
end: \n
69-
patterns:
70-
- include: "#lineContinuation"
71-
- include: "#fileStructure"
72-
beginCaptures:
73-
1:
74-
patterns:
75-
- include: "#fileStructure"
76-
2:
77-
patterns:
78-
- include: "#lineContinuation"
79-
8065
lineContinuation:
8166
name: keyword.control.line-continuation.vba
8267
match: (?<=\s)_\s*\n
@@ -174,10 +159,6 @@ repository:
174159
name: keyword.control.as.vba
175160
match: (?i)\bas\b
176161

177-
kw-controlTo:
178-
name: keyword.control.to.vba
179-
match: (?i)\bto\b
180-
181162
kw-storageMe:
182163
name: variable.language.me.vba
183164
match: (?i)\bme\b
@@ -606,16 +587,6 @@ repository:
606587
name: comment.line.remark.vba
607588
match: (?i)(?<=^\d*?|:)\s*Rem\b.*
608589

609-
attribute:
610-
name: meta.attribute.vba
611-
match: (?i)^\s*(Attribute VB_\w+)\s+(.*)$
612-
captures:
613-
1:
614-
name: entity.other.attribute-name.vba
615-
2:
616-
patterns:
617-
- include: "#language"
618-
619590
moduleHeader:
620591
patterns:
621592
- include: "#moduleVersion"
@@ -808,17 +779,6 @@ repository:
808779
- include: "#methodClose"
809780
- include: "#language"
810781

811-
repository:
812-
blockLines:
813-
name: source.methodlines.vba
814-
match: (?:(^(?:\s*[a-z0-9]*?:\s*)(?:\s+'.*)?$)|(.*):)
815-
captures:
816-
1: # label
817-
name: source.methodlines.label.vba
818-
2: # colon separated line
819-
patterns:
820-
- include: "#block"
821-
822782
separator:
823783
name: punctuation.separator.vba
824784
match: ','

0 commit comments

Comments
 (0)