I tried this out for a bit and it's quite nifty.
That said, your global functions scope will tag a block such as this:
Lua Code:
local foo do
function foo()
-- stuff
end
end
With that having been noted, why even include local/global as a highlighted scope in the syntax? Isn't that the purpose of the global finder?