diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-30 19:09:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-30 19:09:01 +0800 |
commit | 219db07808f65eecf81fd0ad8408bb2a8615272c (patch) | |
tree | f3cdab6c2f4cb1c67d4a6a7a85cc7cf653db2440 /script/proto | |
parent | a0c905ba6de413df0fc754d638db6431a203b330 (diff) | |
download | lua-language-server-219db07808f65eecf81fd0ad8408bb2a8615272c.zip |
supports type hint
Diffstat (limited to 'script/proto')
-rw-r--r-- | script/proto/proto.lua | 2 |
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 |