File tree Expand file tree Collapse file tree 3 files changed +37
-15
lines changed Expand file tree Collapse file tree 3 files changed +37
-15
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " macaulay2" ,
3
3
"displayName" : " Macaulay2" ,
4
4
"description" : " Macaulay2 language support" ,
5
- "version" : " 0.0.2 " ,
5
+ "version" : " 0.0.3 " ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
8
"url" : " https://github.com/coreysharris/vscode-macaulay2"
Original file line number Diff line number Diff line change 9
9
"include" : " #comments"
10
10
},
11
11
{
12
- "include" : " #keywords "
12
+ "include" : " #strings "
13
13
},
14
14
{
15
- "include" : " #strings "
15
+ "include" : " #keywords "
16
16
},
17
17
{
18
18
"include" : " #support"
56
56
]
57
57
},
58
58
"strings" : {
59
- "name" : " string.quoted.double.macaulay2" ,
60
- "begin" : " \" " ,
61
- "end" : " \" " ,
62
59
"patterns" : [
63
60
{
64
- "name" : " constant.character.escape.macaulay2" ,
65
- "match" : " \\\\ ."
61
+ "name" : " string.quoted.double.macaulay2" ,
62
+ "begin" : " \" " ,
63
+ "end" : " \" " ,
64
+ "patterns" : [
65
+ {
66
+ "name" : " constant.character.escape.macaulay2" ,
67
+ "match" : " \\\\ ."
68
+ }
69
+ ]
70
+ },
71
+ {
72
+ "name" : " string.tripleslash.macaulay2" ,
73
+ "begin" : " ///" ,
74
+ "end" : " ///"
66
75
}
67
76
]
68
77
},
75
84
},
76
85
{
77
86
"name" : " comment.block.macaulay2" ,
87
+ "begin" : " -\\ *" ,
88
+ "end" : " \\ *-"
89
+ },
90
+ {
91
+ "name" : " comment.block.macaulay2.deprecated" ,
78
92
"begin" : " {\\ *" ,
79
93
"end" : " \\ *}"
80
94
}
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ fileTypes: [m2]
4
4
5
5
patterns :
6
6
- include : ' #comments'
7
- - include : ' #keywords'
8
7
- include : ' #strings'
8
+ - include : ' #keywords'
9
9
- include : ' #support'
10
10
11
11
# variables:
@@ -31,19 +31,27 @@ repository:
31
31
- name : keyword.operator.arithmetic.macaulay2
32
32
match : ' %|\*|/|//|-|\+|\\'
33
33
strings :
34
- name : string.quoted.double.macaulay2
35
- begin : ' "'
36
- end : ' "'
37
34
patterns :
38
- - name : constant.character.escape.macaulay2
39
- match : " \\\\ ."
40
- # match: "///\\(/?/?[^/]\\|\\(//\\)*////[^/]\\)*\\(//\\)*///"
35
+ - name : string.quoted.double.macaulay2
36
+ begin : ' "'
37
+ end : ' "'
38
+ patterns :
39
+ - name : constant.character.escape.macaulay2
40
+ match : " \\\\ ."
41
+ - name : string.tripleslash.macaulay2
42
+ begin : " ///"
43
+ end : " ///"
44
+ # - name: string.tripleslash2.macaulay2
45
+ # match: "///\\(/?/?[^/]\\|\\(//\\)*////[^/]\\)*\\(//\\)*///"
41
46
comments :
42
47
patterns :
43
48
- name : comment.line.double-dash.macaulay2
44
49
begin : --
45
50
end : $
46
51
- name : comment.block.macaulay2
52
+ begin : ' -\*'
53
+ end : ' \*-'
54
+ - name : comment.block.macaulay2.deprecated
47
55
begin : ' {\*'
48
56
end : ' \*}'
49
57
support :
You can’t perform that action at this time.
0 commit comments