diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-08-27 13:23:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-08-27 13:23:54 +0800 |
commit | 057802df4049da0c71c47822b8baa7f99de1ba5e (patch) | |
tree | 571ba653133d7f4d082b0b0738662a1cacebdb29 /script-beta/core | |
parent | 8ab3e8e15ca366db726fc44c8bfacbb322f595aa (diff) | |
download | lua-language-server-057802df4049da0c71c47822b8baa7f99de1ba5e.zip |
暂存
Diffstat (limited to 'script-beta/core')
-rw-r--r-- | script-beta/core/completion.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script-beta/core/completion.lua b/script-beta/core/completion.lua index fe007368..2623037b 100644 --- a/script-beta/core/completion.lua +++ b/script-beta/core/completion.lua @@ -745,6 +745,11 @@ local function trySymbol(ast, text, offset, results) end end +local function tryCallArg(ast, text, offset, results) + local parent, oop = findParent(ast, text, offset) + +end + local function completion(uri, offset) local ast = files.getAst(uri) local text = files.getText(uri) @@ -754,6 +759,7 @@ local function completion(uri, offset) if ast then tryWord(ast, text, offset, results) trySymbol(ast, text, offset, results) + tryCallArg(ast, text, offset, results) else local word = findWord(text, offset) if word then |