diff options
Diffstat (limited to 'script-beta/core/completion.lua')
-rw-r--r-- | script-beta/core/completion.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/script-beta/core/completion.lua b/script-beta/core/completion.lua index 4f4f99c7..5dc8d80c 100644 --- a/script-beta/core/completion.lua +++ b/script-beta/core/completion.lua @@ -451,7 +451,12 @@ local function checkField(ast, word, start, offset, parent, oop, results) end local function checkGlobal(ast, word, start, offset, parent, oop, results) - local refs = vm.getGlobals('*', 'fast') + local refs + if config.config.intelliSense.fastGlobal then + refs = vm.getGlobals('*', 'fast') + else + refs = vm.getGlobals('*') + end checkFieldOfRefs(refs, ast, word, start, offset, parent, oop, results) end |