-
Notifications
You must be signed in to change notification settings - Fork 12
/
Arduino.tmLanguage
62 lines (62 loc) · 2.11 KB
/
Arduino.tmLanguage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?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">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>pde</string>
<string>ino</string>
</array>
<key>foldingStartMarker</key>
<string>/\*\*|\{\s*$</string>
<key>foldingStopMarker</key>
<string>\*\*/|^\s*\}</string>
<key>name</key>
<string>Arduino</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#special_block</string>
</dict>
<dict>
<key>include</key>
<string>source.c++</string>
</dict>
<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>
<key>name</key>
<string>constant.c++.arduino</string>
</dict>
<dict>
<key>match</key>
<string>\b(boolean|byte|word)\b</string>
<key>name</key>
<string>storage.c++.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|setup|loop)\b</string>
<key>name</key>
<string>support.function.c++.arduino</string>
</dict>
<dict>
<key>match</key>
<string>\b(Serial\d?)\b</string>
<key>name</key>
<string>support.class.c++.arduino</string>
</dict>
<dict>
<key>match</key>
<string>\b(private|protected|public)</string>
<key>name</key>
<string>storage.modifier.c++.arduino</string>
</dict>
</array>
<key>scopeName</key>
<string>source.c++.arduino</string>
<key>uuid</key>
<string>65E5AFAE-4AE7-4DAE-837B-1B99810E464C</string>
</dict>
</plist>