File tree Expand file tree Collapse file tree 4 files changed +57
-3
lines changed Expand file tree Collapse file tree 4 files changed +57
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## Version 0.0.3: 22 October 2019
2
+ - Add support for lua script
3
+
1
4
## Version 0.0.2: 16 May 2019
2
5
- Add support for [ asprin] ( https://github.com/potassco/asprin )
3
6
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.2 " ,
5
+ "version" : " 0.0.3 " ,
6
6
"publisher" : " abelcour" ,
7
7
"engines" : {
8
8
"vscode" : " ^1.18.0"
Original file line number Diff line number Diff line change 101
101
</dict >
102
102
<dict >
103
103
<key >comment </key >
104
- <string >Gringo script </string >
104
+ <string >Gringo script python </string >
105
105
<key >begin </key >
106
106
<string >#script\s*\(\s*python\s*\) </string >
107
107
<key >beginCaptures </key >
130
130
</dict >
131
131
</array >
132
132
</dict >
133
+ <dict >
134
+ <key >comment </key >
135
+ <string >Gringo script lua </string >
136
+ <key >begin </key >
137
+ <string >#script\s*\(\s*lua\s*\) </string >
138
+ <key >beginCaptures </key >
139
+ <dict >
140
+ <key >0 </key >
141
+ <dict >
142
+ <key >name </key >
143
+ <string >support.function.asp </string >
144
+ </dict >
145
+ </dict >
146
+ <key >end </key >
147
+ <string >#end </string >
148
+ <key >endCaptures </key >
149
+ <dict >
150
+ <key >0 </key >
151
+ <dict >
152
+ <key >name </key >
153
+ <string >support.function.asp </string >
154
+ </dict >
155
+ </dict >
156
+ <key >patterns </key >
157
+ <array >
158
+ <dict >
159
+ <key >include </key >
160
+ <string >source.lua </string >
161
+ </dict >
162
+ </array >
163
+ </dict >
133
164
<dict >
134
165
<key >name </key >
135
166
<string >entity.name.tag.asp </string >
Original file line number Diff line number Diff line change 63
63
"match" : " #(maximize|minimize|show|hide|showsig|sup|inf|true|false|forget|external|cumulative|disjoint|const|base|include|program)\\ b"
64
64
},
65
65
{
66
- "comment" : " Gringo script" ,
66
+ "comment" : " Gringo script python " ,
67
67
"begin" : " #script\\ s*\\ (\\ s*python\\ s*\\ )" ,
68
68
"beginCaptures" : {
69
69
"0" : {
82
82
}
83
83
]
84
84
},
85
+ {
86
+ "comment" : " Gringo script lua" ,
87
+ "begin" : " #script\\ s*\\ (\\ s*lua\\ s*\\ )" ,
88
+ "beginCaptures" : {
89
+ "0" : {
90
+ "name" : " support.function.asp"
91
+ }
92
+ },
93
+ "end" : " #end" ,
94
+ "endCaptures" : {
95
+ "0" : {
96
+ "name" : " support.function.asp"
97
+ }
98
+ },
99
+ "patterns" :[
100
+ {
101
+ "include" : " source.lua"
102
+ }
103
+ ]
104
+ },
85
105
{
86
106
"name" : " entity.name.tag.asp" ,
87
107
"match" : " [a-z][A-Za-z0-9_]*"
You can’t perform that action at this time.
0 commit comments