There seems to be a small bug in the keywords.txt file for the DigiKeyboard library. In order for the highlighting to work correctly, there needs to be a tab, not a space in between update and sendKeyStroke and KEYWORD2 in order for it to work correctly.