diff --git a/syntaxes/arduino.tmLanguage b/syntaxes/arduino.tmLanguage index dcf0c5e0..4c604b24 100644 --- a/syntaxes/arduino.tmLanguage +++ b/syntaxes/arduino.tmLanguage @@ -1,5 +1,6 @@ @@ -23,19 +24,19 @@ language grammars reference document: https://manual.macromates.com/en/language_ match - \b(HIGH|LOW|INPUT|OUTPUT|DEC|BIN|HEX|OCT|BYTE|PI|HALF_PI|TWO_PI|LSBFIRST|MSBFIRST|CHANGE|FALLING|RISING|DEFAULT|EXTERNAL|INTERNAL|INTERNAL1V1|INTERNAL2V56|null)\b + \b(HIGH|LOW|INPUT|OUTPUT|INPUT_PULLUP|LED_BUILTIN|DEC|BIN|HEX|OCT|BYTE|PI|HALF_PI|TWO_PI|LSBFIRST|MSBFIRST|CHANGE|FALLING|RISING|DEFAULT|EXTERNAL|INTERNAL|INTERNAL1V1|INTERNAL2V56|null)\b name storage.type.cpp.arduino match - \b(boolean|byte|word)\b + \b(boolean|byte|word|string|String|array)\b name storage.cpp.arduino match - \b(abs|acos|asin|atan|atan2|ceil|constrain|cos|degrees|exp|floor|log|map|max|min|radians|random|randomSeed|round|sin|sq|sqrt|tan|bitRead|bitWrite|bitSet|bitClear|bit|highByte|lowByte|analogReference|analogRead|analogWrite|attachInterrupt|detachInterrupt|delay|delayMicroseconds|digitalWrite|digitalRead|interrupts|millis|micros|noInterrupts|noTone|pinMode|pulseIn|shiftOut|tone|begin|end|read|print|println|available|flush)\b + \b(abs|acos|asin|atan|atan2|ceil|constrain|cos|degrees|exp|floor|log|map|max|min|radians|random|randomSeed|round|sin|sq|sqrt|tan|bitRead|bitWrite|bitSet|bitClear|bit|highByte|lowByte|analogReference|analogRead|analogWrite|analogReadResolution|analogWriteResolution|attachInterrupt|detachInterrupt|delay|delayMicroseconds|digitalWrite|digitalRead|interrupts|millis|micros|noInterrupts|noTone|pinMode|pulseIn|shiftIn|shiftOut|tone|begin|end|read|print|println|available|flush)\b name support.function.cpp.arduino @@ -47,7 +48,7 @@ language grammars reference document: https://manual.macromates.com/en/language_ match - \b(Serial\d?)\b + \b(Serial\d?|Stream|Keyboard|Mouse)\b name support.class.cpp.arduino