A CfxLua extension for Zed, for FiveM and RedM development.
It highlights the cfx Lua syntax (compound assignment, safe navigation, backtick hashes, /* */ comments) and sets up lua-language-server with the fivem-lls-addon, so natives and the Citizen runtime are typed without any custom setup.
Both this and the built-in Lua extension claim .lua. Pick CfxLua from the language selector per file, or force every .lua to open as CfxLua in your Zed settings:
"file_types": {
"CfxLua": ["lua"]
}If you only use Lua for FiveM, you can just uninstall the Lua extension instead.
To develop this extension, see the Developing Extensions section of the Zed docs.