summaryrefslogtreecommitdiff
path: root/script-beta/core/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-05 17:20:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-05 17:20:53 +0800
commit51185264ab76b43571689dd717b3e685d4ff9c73 (patch)
tree1fe952e64d6bdef81f280eafdfbe3d27e022ca5c /script-beta/core/hover/init.lua
parent96e499f4c62d7e444c74a4afebfd02211f3f9c16 (diff)
downloadlua-language-server-51185264ab76b43571689dd717b3e685d4ff9c73.zip
更新hover
Diffstat (limited to 'script-beta/core/hover/init.lua')
-rw-r--r--script-beta/core/hover/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script-beta/core/hover/init.lua b/script-beta/core/hover/init.lua
index ae4df936..fd8654e3 100644
--- a/script-beta/core/hover/init.lua
+++ b/script-beta/core/hover/init.lua
@@ -48,7 +48,8 @@ return function (uri, offset)
or source.type == 'setglobal'
or source.type == 'getglobal'
or source.type == 'field'
- or source.type == 'method' then
+ or source.type == 'method'
+ or source.type == 'string' then
return getHover(source)
end
end)