I've implemented nearly the entire CMO Lua documentation in a EmmyLua/sumneko workspace library that can be used with VSCode if you have sumneko's Lua language extension installed (a few easy clicks and a restart of VSCode).
VSCode: https://code.visualstudio.com/Download (free)
Finding sumneko's plugin for install and configuration after install and restarting VSCode (free)

Configuring your workspace to use the CMO_1147 workspace library files.

Example of what this buys you with a little usage of Emmy Lua comment 'type' tagging. If nothing else it's been handy as hell to not have to leave VSCode to look something up. The CMO__Constants are really just for hints and quick lookup reminders (though there is nothing preventing you from actually using them and loading them into a scene if you wanted too, though I may rework some of them. Also saves one from having to exclude all the built-in CMO functions to be ignored by the undefined-globa-diagnostics.
All functions are in there (unless I forgot one due to eyes glazing over) including some deprecated ones so that it could still be used for CMANO maybe too I think, though flagged a bunch depreciated. Additionally some less than documented ones are in there, along with fields here and there that have never made it into the docs. That said more or less it's the same as the website, with some corrections, and probably now a few of my own goofs.
Now onto the pics to give you idea of how it looks when in use. [click thumbnails for full image (and maybe a second time if better res is needed)]



















Now I don't really use it the way it's demo'd there (I use it more for hints to jog memory), nor is any of that code remotely logical I was just typing random stuff to provoke the IntelliSense. I still have more to do over time, such as circle back to dbquery, implement each specific event trigger and action type separately for more convenience, not to mention lord knows how many spelling mistaking and display formatting that needs more tweaking. But don't expect too much more or things to work like other languages might I'm surprised I got working decently at all tbh give limitations of emmy and lua types in general.
In the attached zip there are two folders:
\CMO_1147 - The content in here represents the emmy-sumneko library.
\CMO_TestWorkspace - A sample VSCode workspace that you should just be able to open and then re-configure the Lua workspace user library setting to point to the path where ever you unzipped \CMO_1147 too.
If any of you actually try it out and have questions or actually find it useful let me know.