Skip to content

Commit b88fbe0

Browse files
committed
Add preference and optimize statements (issue #1).
1 parent 8f51bf6 commit b88fbe0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

syntaxes/asp.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
<key>name</key>
8282
<string>support.function.asp</string>
8383
<key>comment</key>
84-
<string>Gringo functions</string>
84+
<string>Gringo and asprin functions</string>
8585
<key>match</key>
86-
<string>#(maximize|minimize|show|hide|showsig|sup|inf|true|false|forget|external|cumulative|disjoint|const|base|include|program)\b</string>
86+
<string>#(maximize|minimize|show|hide|showsig|sup|inf|true|false|forget|external|cumulative|disjoint|const|base|include|program|preference|optimize)\b</string>
8787
</dict>
8888
<dict>
8989
<key>comment</key>

syntaxes/asp.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
},
5050
{
5151
"name": "support.function.asp",
52-
"comment": "Gringo functions",
53-
"match": "#(maximize|minimize|show|hide|showsig|sup|inf|true|false|forget|external|cumulative|disjoint|const|base|include|program)\\b"
52+
"comment": "Gringo and asprin functions",
53+
"match": "#(maximize|minimize|show|hide|showsig|sup|inf|true|false|forget|external|cumulative|disjoint|const|base|include|program|preference|optimize)\\b"
5454
},
5555
{
5656
"comment": "Gringo script",

0 commit comments

Comments
 (0)