I've been working on a small robot framework language syntax highlighting. I recommend checking the general idea for the syntax from here: https://github.com/robocorp/robotframework-lsp/tree/master/robocorp-code I couldn't find any better source for it.
I also added test.robot file
If you have any ideas how to improve this, please share! However I think it's in pretty good shape now, and rest of the coloring probably needs an LSP.