summaryrefslogtreecommitdiff
path: root/script-beta/provider/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-09 17:29:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-09 17:29:00 +0800
commitd1ca1c8add2b122eb9b558d3c185f34de001e971 (patch)
tree4abcdbf6f8034ae80b2d376c36fcb01ea340f7ff /script-beta/provider/init.lua
parentb40b95f5aaba8da1aedbcfdea184ab7ba109c5a8 (diff)
downloadlua-language-server-d1ca1c8add2b122eb9b558d3c185f34de001e971.zip
hover 支持 require 路径
Diffstat (limited to 'script-beta/provider/init.lua')
-rw-r--r--script-beta/provider/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/provider/init.lua b/script-beta/provider/init.lua
index 95f4b3d1..92e5d251 100644
--- a/script-beta/provider/init.lua
+++ b/script-beta/provider/init.lua
@@ -160,6 +160,7 @@ proto.on('textDocument/hover', function (params)
end
local md = markdown()
md:add('lua', hover.label)
+ md:add('md', hover.description)
return {
contents = {
value = md:string(),