It is possible! You only need to copy two files in the correct directory:
LuaXcode3SyntaxColor.zip
(found at Capgo's website via lua-users.org)
Update: after installing this, Xcode started crashing regularly, and at one point I couldn't even send the game to the emulator anymore => I removed the files.