Typing global. anywhere seems to delete make LuaLS think the token immediately before doesn't exist, even if global isn't a variable name.
Example (control.lua):
local fail1a = "global.name1"
local fail1b = "text global.also text"
local okay1 = "text global text"
local fail2 = 1-global.name2
local okay2 = 1 - global.name2
Typing
global.
anywhere seems to delete make LuaLS think the token immediately before doesn't exist, even ifglobal
isn't a variable name.Example (
control.lua
):