diff options
Diffstat (limited to 'script/core/completion/completion.lua')
-rw-r--r-- | script/core/completion/completion.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua index 8f42226a..d27ff0ad 100644 --- a/script/core/completion/completion.lua +++ b/script/core/completion/completion.lua @@ -474,8 +474,8 @@ local function checkFieldFromFieldToIndex(state, name, src, parent, word, startP } end else - if config.get(state.uri, 'Lua.runtime.version') == 'lua 5.1' - or config.get(state.uri, 'Lua.runtime.version') == 'luaJIT' then + if config.get(state.uri, 'Lua.runtime.version') == 'Lua 5.1' + or config.get(state.uri, 'Lua.runtime.version') == 'LuaJIT' then textEdit.newText = '_G' .. textEdit.newText else textEdit.newText = '_ENV' .. textEdit.newText |