summaryrefslogtreecommitdiff
path: root/server-beta/src/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-22 14:28:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-22 14:28:00 +0800
commitdc7275ac9b56f26923c80c1e8bbce185c2d147a4 (patch)
tree8a5a325980feb3b0cd8b101ce5f37ee48779116d /server-beta/src/core
parent67ae2be22b43fec1c7bab1044842951eba84d37d (diff)
downloadlua-language-server-dc7275ac9b56f26923c80c1e8bbce185c2d147a4.zip
简单接入 hover 协议
Diffstat (limited to 'server-beta/src/core')
-rw-r--r--server-beta/src/core/hover/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/server-beta/src/core/hover/init.lua b/server-beta/src/core/hover/init.lua
index c47aee6d..9de5f4da 100644
--- a/server-beta/src/core/hover/init.lua
+++ b/server-beta/src/core/hover/init.lua
@@ -16,7 +16,8 @@ local function getHoverAsFunction(source)
local label = table.concat(labels, '\n')
return {
- label = label,
+ label = label,
+ source = source,
}
end