summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-28 02:12:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-28 02:12:51 +0800
commitc352af7a59b14f60ea5aca7bddfbc891068b4cb0 (patch)
treed43adf0216e9a9ecf2b44523da5b473d2a686b13 /script-beta
parentbae604f2485e1a601d5ac30e5761ee601ba00c7e (diff)
downloadlua-language-server-c352af7a59b14f60ea5aca7bddfbc891068b4cb0.zip
去掉一层分隔符
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/core/hover/description.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/script-beta/core/hover/description.lua b/script-beta/core/hover/description.lua
index e21ec088..63c5afae 100644
--- a/script-beta/core/hover/description.lua
+++ b/script-beta/core/hover/description.lua
@@ -132,7 +132,6 @@ local function tryLibrary(source)
local fmt = getDocFormater()
local md = markdown()
if lib.value.description then
- md:add('markdown', '-------------')
md:add('markdown', lib.value.description:gsub('%(doc%:(.-)%)', function (tag)
if fmt then
return '(' .. lang.script(fmt, tag) .. ')'