diff options
Diffstat (limited to 'script-beta/core')
-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 b3e5fe28..92148f28 100644 --- a/script-beta/core/completion.lua +++ b/script-beta/core/completion.lua @@ -227,7 +227,7 @@ local function tryWord(ast, text, offset, results) end local function completion(uri, offset) - local ast = files.getAst(uri) + local ast = files.getLastAst(uri) if not ast then return nil end |