We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c50dca commit 6db28b9Copy full SHA for 6db28b9
client/src/syntaxes/vba.tmLanguage.yaml
@@ -12,6 +12,7 @@ repository:
12
vbaLang:
13
patterns:
14
- include: "#comments"
15
+ - include: "#moduleLinesWithComment"
16
- include: "#moduleLines"
17
- include: "#moduleHeader"
18
- include: "#enum"
@@ -20,8 +21,17 @@ repository:
20
21
- include: "#variableDeclarations"
22
- include: "#block"
23
repository:
24
+ moduleLinesWithComment:
25
+ match: ([^\n']*)?('.*(?=([^"]*"[^"]*")*[^"]*$))
26
+ captures:
27
+ 1:
28
+ patterns:
29
+ - include: "#vbaLang"
30
+ 2:
31
32
+ - include: "#comments"
33
moduleLines:
- match: '([^\n:]*)?:(?=([^"]*"[^"]*")*[^"]*$)'
34
+ match: ([^\n:]*)?:(?=([^"]*"[^"]*")*[^"]*$)
35
captures:
36
1:
37
0 commit comments