diff options
Diffstat (limited to 'script/vm/sign.lua')
-rw-r--r-- | script/vm/sign.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/sign.lua b/script/vm/sign.lua index 38cb2242..ddc8258f 100644 --- a/script/vm/sign.lua +++ b/script/vm/sign.lua @@ -53,7 +53,7 @@ function mt:resolve(uri, args) for n in node:eachObject() do if n.type == 'string' then ---@cast n parser.object - local type = vm.declareGlobal('type', n[1], guide.getUri(n)) + local type = vm.declareGlobal('type', object.pattern and object.pattern:format(n[1]) or n[1], guide.getUri(n)) resolved[key] = vm.createNode(type, resolved[key]) end end |