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) function dobj:fmt0(str)
return ( return (
gsub(str, "%%[%a%%\b\f]", function(x) gsub(str, "%%[%a%%\b\f]", function(x)
local f = tvspec[x] local f = tvspec[x]
return (f and f(self)) or x return (f and f(self)) or x
end) end)
) )
end end
function dobj:fmt(str) function dobj:fmt(str)
str = str or self.fmtstr or fmtstr str = str or self.fmtstr or fmtstr