Skip to content

Commit f5eecd9

Browse files
authored
chore: update zmodel prism definition (#529)
1 parent 68b3ddf commit f5eecd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/prism-zmodel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Prism.languages.zmodel = Prism.languages.extend('clike', {
2-
function: /@@?[A-Za-z_]\w*/,
2+
function: /@@*[A-Za-z_]\w*/,
33
keyword: /\b(?:datasource|enum|generator|model|type|abstract|import|extends|attribute|view|plugin|proc|with)\b/,
44
entity: /\b(?:Int|String|Boolean|DateTime|Float|Decimal|BigInt|Bytes|Json|Unsupported)\b/,
55
'type-class-name': /(\b()\s+)[\w.\\]+/,

0 commit comments

Comments
 (0)