Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
fix missed syntax highlighting (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
testforstephen authored Mar 24, 2017
1 parent 1fbfb14 commit b61c7c1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions syntaxes/arduino.tmLanguage
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--
language grammars reference document: https://manual.macromates.com/en/language_grammars
Arduino Language reference document: https://www.arduino.cc/en/Reference/HomePage
-->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Expand All @@ -23,19 +24,19 @@ language grammars reference document: https://manual.macromates.com/en/language_
<array>
<dict>
<key>match</key>
<string>\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</string>
<string>\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</string>
<key>name</key>
<string>storage.type.cpp.arduino</string>
</dict>
<dict>
<key>match</key>
<string>\b(boolean|byte|word)\b</string>
<string>\b(boolean|byte|word|string|String|array)\b</string>
<key>name</key>
<string>storage.cpp.arduino</string>
</dict>
<dict>
<key>match</key>
<string>\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</string>
<string>\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</string>
<key>name</key>
<string>support.function.cpp.arduino</string>
</dict>
Expand All @@ -47,7 +48,7 @@ language grammars reference document: https://manual.macromates.com/en/language_
</dict>
<dict>
<key>match</key>
<string>\b(Serial\d?)\b</string>
<string>\b(Serial\d?|Stream|Keyboard|Mouse)\b</string>
<key>name</key>
<string>support.class.cpp.arduino</string>
</dict>
Expand Down

0 comments on commit b61c7c1

Please sign in to comment.