File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " asp-syntax-highlight" ,
3
3
"displayName" : " Answer Set Programming syntax highlighter" ,
4
4
"description" : " Syntax highlighting for Answer Set Programming" ,
5
- "version" : " 0.0.4 " ,
5
+ "version" : " 0.0.5 " ,
6
6
"publisher" : " abelcour" ,
7
7
"engines" : {
8
8
"vscode" : " ^1.18.0"
46
46
"path" : " ./syntaxes/asp.tmLanguage"
47
47
}
48
48
]
49
- },
50
- "__metadata" : {
51
- "id" : " e0c89965-ea7d-400a-ad41-2c00751045d3" ,
52
- "publisherDisplayName" : " abelcour" ,
53
- "publisherId" : " bea0f566-1a88-46cf-bc2d-3f45f0dfaeb6"
54
49
}
55
50
}
Original file line number Diff line number Diff line change 75
75
<key >match </key >
76
76
<string >#(count|max|min|sum)\b </string >
77
77
</dict >
78
+ <dict >
79
+ <key >name </key >
80
+ <string >keyword.control.flow.asp </string >
81
+ <key >comment </key >
82
+ <string >asprilo types and statements </string >
83
+ <key >match </key >
84
+ <string >(node|highway|robot|shelf|pickleStation|product|order|carries)\b </string >
85
+ </dict >
78
86
<dict >
79
87
<key >name </key >
80
88
<string >keyword.control.flow.asp </string >
81
89
<key >comment </key >
82
90
<string >asprin types and statements </string >
83
91
<key >match </key >
84
- <string >less\s*\(\s*cardinality\s*\)|more\s*\(\s*cardinality\s*\)|less\s*\(\s*weight\s*\)|more\s*\(\s*weight\s*\)|preference|pareto|subset|superset|minmax|maxmin|aso|poset|cp|#(preference|optimize) </string >
92
+ <string >( less\s*\(\s*cardinality\s*\)|more\s*\(\s*cardinality\s*\)|less\s*\(\s*weight\s*\)|more\s*\(\s*weight\s*\)|preference|pareto|subset|superset|minmax|maxmin|aso|poset|cp|#(preference|optimize))\b </string >
85
93
</dict >
86
94
<dict >
87
95
<key >name </key >
105
113
<key >comment </key >
106
114
<string >Include </string >
107
115
<key >match </key >
108
- <string >#include\s([<]incmode[>][.])? </string >
116
+ <string >#include\s([<]( incmode|csp) [>][.])? </string >
109
117
</dict >
110
118
<dict >
111
119
<key >name </key >
Original file line number Diff line number Diff line change 47
47
"name" : " keyword.asp" ,
48
48
"match" : " #(count|max|min|sum)\\ b"
49
49
},
50
+ {
51
+ "name" : " keyword.control.flow.asp" ,
52
+ "comment" : " asprilo types and statements" ,
53
+ "match" : " (node|highway|robot|shelf|pickleStation|product|order|carries)\\ b"
54
+ },
50
55
{
51
56
"name" : " keyword.control.flow.asp" ,
52
57
"comment" : " asprin types and statements" ,
53
- "match" : " less\\ s*\\ (\\ s*cardinality\\ s*\\ )|more\\ s*\\ (\\ s*cardinality\\ s*\\ )|less\\ s*\\ (\\ s*weight\\ s*\\ )|more\\ s*\\ (\\ s*weight\\ s*\\ )|preference|pareto|subset|superset|minmax|maxmin|aso|poset|cp|#(preference|optimize)"
58
+ "match" : " ( less\\ s*\\ (\\ s*cardinality\\ s*\\ )|more\\ s*\\ (\\ s*cardinality\\ s*\\ )|less\\ s*\\ (\\ s*weight\\ s*\\ )|more\\ s*\\ (\\ s*weight\\ s*\\ )|preference|pareto|subset|superset|minmax|maxmin|aso|poset|cp|#(preference|optimize)) \\ b "
54
59
},
55
60
{
56
61
"name" : " support.function.asp" ,
You can’t perform that action at this time.
0 commit comments