OK. The "keywords.txt" custom keyword highlighting system mentioned by LarryD is only for Arduino IDE 1.x.
However, it does use the same powerful general purpose C++ syntax highlighting system as is built into VS Code:
You might be interested in the information shared here about the possibility of installing 3rd party VS Code themes or even your own custom themes in Arduino IDE 2.x: