- - statement: "\\b(case|class|default|do|double|else|false|for|if|new|null|private|protected|public|short|signed|static|String|switch|this|throw|try|true|unsigned|void|while)\\b"
- - special: "\\b(goto|continue|break|return)\\b"
- - statement: "\\b(abs|acos|asin|atan|atan2|ceil|constrain|cos|degrees|exp|floor|log|map|max|min|radians|random|randomSeed|round|sin|sq|sqrt|tan)\\b"
- - statement: "\\b(bitRead|bitWrite|bitSet|bitClear|bit|highByte|lowByte)\\b"
- - statement: "\\b(analogReference|analogRead|analogWrite)\\b"
- - statement: "\\b(attachInterrupt|detachInterrupt)\\b"
- - statement: "\\b(delay|delayMicroseconds|millis|micros)\\b"
- - statement: "\\b(pinMode|digitalWrite|digitalRead)\\b"
- - statement: "\\b(interrupts|noInterrupts)\\b"
- - statement: "\\b(noTone|pulseIn|shiftIn|shiftOut|tone)\\b"
- - special: "\\b(Serial|Serial1|Serial2|Serial3|begin|end|peek|read|print|println|available|flush)\\b"
- - statement: "\\b(setup|loop)\\b"
- - preproc: "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)"
- - constant.specialChar: "'([^']|(\\\\[\"'abfnrtv\\\\]))'|'\\\\(([0-3]?[0-7]{1,2}))'|'\\\\x[0-9A-Fa-f]{1,2}'"
- - preproc: "__attribute__[[:space:]]*\\(\\([^)]*\\)\\)|__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
- - constant.string: "<[^= ]*>|\"(\\\\.|[^\"])*\""
+
+ ## Control Structions
+ - statement: "\\b(case|class|default|do|double|else|false|for|if|new|null|private|protected|public|short|signed|static|String|switch|this|throw|try|true|unsigned|void|while)\\b"
+ - statement: "\\b(goto|continue|break|return)\\b"
+
+ ## Math
+ - identifier: "\\b(abs|acos|asin|atan|atan2|ceil|constrain|cos|degrees|exp|floor|log|map|max|min|radians|random|randomSeed|round|sin|sq|sqrt|tan)\\b"
+
+ ## Bits & Bytes
+ - identifier: "\\b(bitRead|bitWrite|bitSet|bitClear|bit|highByte|lowByte)\\b"
+
+ ## Analog I/O
+ - identifier: "\\b(analogReference|analogRead|analogWrite)\\b"
+
+ ## External Interrupts
+ - identifier: "\\b(attachInterrupt|detachInterrupt)\\b"
+
+ ## Time
+ - identifier: "\\b(delay|delayMicroseconds|millis|micros)\\b"
+
+ ## Digital I/O
+ - identifier: "\\b(pinMode|digitalWrite|digitalRead)\\b"
+
+ ## Interrupts
+ - identifier: "\\b(interrupts|noInterrupts)\\b"
+
+ ## Advanced I/O
+ - identifier: "\\b(noTone|pulseIn|shiftIn|shiftOut|tone)\\b"
+
+ ## Serial
+ - identifier: "\\b(Serial|Serial1|Serial2|Serial3|begin|end|peek|read|print|println|available|flush)\\b"
+
+ ## Structure
+ - identifier: "\\b(setup|loop)\\b"
+
+ ##
+ - statement: "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)"
+
+ ## GCC builtins
+ - constant: "(__attribute__[[:space:]]*\\(\\([^)]*\\)\\)|__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__)"
+
+ - constant.string:
+ start: "\""
+ end: "\""
+ skip: "\\\\."
+ rules:
+ - constant.specialChar: "\\\\."
+