summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-01-30 19:09:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-01-30 19:09:01 +0800
commit219db07808f65eecf81fd0ad8408bb2a8615272c (patch)
treef3cdab6c2f4cb1c67d4a6a7a85cc7cf653db2440 /script/proto
parenta0c905ba6de413df0fc754d638db6431a203b330 (diff)
downloadlua-language-server-219db07808f65eecf81fd0ad8408bb2a8615272c.zip
supports type hint
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/proto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index fe0277ef..a0880011 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -17,7 +17,7 @@ m.holdon = {}
function m.getMethodName(proto)
if proto.method:sub(1, 2) == '$/' then
- return proto.method:sub(3), true
+ return proto.method, true
else
return proto.method, false
end