Skip to content

Commit de82e9e

Browse files
committed
don't show number as is
1 parent 0d44102 commit de82e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/core/hover/label.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ local function asNumber(source)
180180
if not text then
181181
return nil
182182
end
183-
local raw = text:sub(source.start, source.finish)
183+
local raw = text:sub(source.start + 1, source.finish)
184184
if not raw or not raw:find '[^%-%d%.]' then
185185
return nil
186186
end

0 commit comments

Comments
 (0)