diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-10 21:29:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-10 21:29:43 +0800 |
commit | 147486a480a7ce5b56361751166f997def5f9b5b (patch) | |
tree | 697f1b1d204cf220ad61b52af45e508ca5813cfb /script-beta/core/completion.lua | |
parent | 1d8d37ce97e3ea7097dd23a4ac90198c92ed611b (diff) | |
download | lua-language-server-147486a480a7ce5b56361751166f997def5f9b5b.zip |
这个优化没用了
Diffstat (limited to 'script-beta/core/completion.lua')
-rw-r--r-- | script-beta/core/completion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/completion.lua b/script-beta/core/completion.lua index 3a158399..f5ba1563 100644 --- a/script-beta/core/completion.lua +++ b/script-beta/core/completion.lua @@ -369,7 +369,7 @@ local function tryWord(ast, text, offset, results) end local function completion(uri, offset) - local ast = files.getLastAst(uri) + local ast = files.getAst(uri) if not ast then return nil end |