Arduino MKR Zero problem with new UART comunication
When a library does not highlight, it might be that the library is not coded to be highlighted (see here).

If you installed the library yourself, you may have put it in the wrong path.