diff --git a/lua/taglinks/date.lua b/lua/taglinks/date.lua index fdfc3ad..827ff2f 100644 --- a/lua/taglinks/date.lua +++ b/lua/taglinks/date.lua @@ -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