diff options
Diffstat (limited to 'script/core/document-symbol.lua')
-rw-r--r-- | script/core/document-symbol.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/document-symbol.lua b/script/core/document-symbol.lua index 03169cfd..86d95a59 100644 --- a/script/core/document-symbol.lua +++ b/script/core/document-symbol.lua @@ -147,7 +147,8 @@ local function buildValue(source, text, symbols) details[3] = ' = ' details[4] = util.viewLiteral(source.value[1]) end - elseif source.value.type == 'number' then + elseif source.value.type == 'number' + or source.value.type == 'integer' then details[2] = ' number' if literal ~= nil then details[3] = ' = ' |