diff options
-rw-r--r-- | script/provider/provider.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 179b7ed0..8c72be1b 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -301,10 +301,7 @@ proto.on('textDocument/hover', function (params) end local md = markdown() md:add('lua', hover.label) - if hover.label and #hover.label > 0 - and hover.description and #hover.description > 0 then - md:add('md', "---") - end + md:splitLine() md:add('md', hover.description) return { contents = { |