style: make stylua happy

This commit is contained in:
lambtho12
2022-04-30 21:54:51 +02:00
parent 8aa35ec6aa
commit 2573b4a6d1

View File

@@ -1104,11 +1104,11 @@ local tvspec = {
}
function dobj:fmt0(str)
return (
gsub(str, "%%[%a%%\b\f]", function(x)
local f = tvspec[x]
return (f and f(self)) or x
end)
)
gsub(str, "%%[%a%%\b\f]", function(x)
local f = tvspec[x]
return (f and f(self)) or x
end)
)
end
function dobj:fmt(str)
str = str or self.fmtstr or fmtstr