summaryrefslogtreecommitdiff
path: root/server/src/core/hover/hover.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/hover/hover.lua')
-rw-r--r--server/src/core/hover/hover.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/hover/hover.lua b/server/src/core/hover/hover.lua
index e07acf4a..2e87936c 100644
--- a/server/src/core/hover/hover.lua
+++ b/server/src/core/hover/hover.lua
@@ -137,7 +137,7 @@ local function getValueHover(source, name, value, lib)
local tip
local literal
if lib then
- value = lib.code or (lib.value and ('%q'):format(lib.value))
+ literal = lib.code or (lib.value and ('%q'):format(lib.value))
tip = lib.description
else
literal = value:getLiteral() and ('%q'):format(value:getLiteral())