diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/core/completion.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua index 98a30998..ba848272 100644 --- a/script/core/completion.lua +++ b/script/core/completion.lua @@ -1640,7 +1640,7 @@ local function tryComment(ast, text, offset, results) if doc and doc.type ~= 'doc.comment' then return end - checkCommon(word, text, offset, results) + checkCommon(ast, word, text, offset, results) end local function completion(uri, offset) @@ -1662,7 +1662,7 @@ local function completion(uri, offset) else local word = findWord(text, offset) if word then - checkCommon(word, text, offset, results) + checkCommon(ast, word, text, offset, results) end end |