summaryrefslogtreecommitdiff
path: root/test-beta/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-05-30 14:59:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-05-30 14:59:38 +0800
commit30d1ac31b34ea50f3065e64a8483ad09a44b4c58 (patch)
tree35ab4559866b6d1f7a2ca1259f536e6ee8779842 /test-beta/hover/init.lua
parent5ad119e5848e3878ed37f58f71750bc4a17720a5 (diff)
downloadlua-language-server-30d1ac31b34ea50f3065e64a8483ad09a44b4c58.zip
library table 的hover
Diffstat (limited to 'test-beta/hover/init.lua')
-rw-r--r--test-beta/hover/init.lua18
1 files changed, 16 insertions, 2 deletions
diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua
index 68bf3e3b..68205e38 100644
--- a/test-beta/hover/init.lua
+++ b/test-beta/hover/init.lua
@@ -492,11 +492,25 @@ local self: obj {
}
]]
-TEST[[
+TEST [[
+print(<?utf8?>)
+]]
+[[
+global utf8: utf8 {
+ char: function,
+ charpattern: string,
+ codepoint: function,
+ codes: function,
+ len: function,
+ offset: function,
+}
+]]
+
+TEST [[
local <?sssss?> = require 'utf8'
]]
[[
-local sssss<utf8>: {
+local sssss: utf8 {
char: function,
charpattern: string,
codepoint: function,