From 0d8d0058446ee576a6d8f186c49dabd7ff9d8f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 13 Dec 2020 18:35:12 +0800 Subject: change dividing line in hover --- script/core/hover/description.lua | 1 - script/provider/provider.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/script/core/hover/description.lua b/script/core/hover/description.lua index 09a27138..f9a0fc1d 100644 --- a/script/core/hover/description.lua +++ b/script/core/hover/description.lua @@ -240,7 +240,6 @@ local function getFunctionComment(source) return end local md = markdown() - md:add('md', "---") if comments ~= "" then md:add('md', comments) end diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 66d8cca3..6028e6fe 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -206,6 +206,7 @@ proto.on('textDocument/hover', function (params) end local md = markdown() md:add('lua', hover.label) + md:add('md', "---") md:add('md', hover.description) return { contents = { -- cgit v1.2.3