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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
|
# -*- cooleditsyntax -*-
context default
keyword whole __asm__ white
keyword whole __alignof__ white
keyword whole __attribute__ white
keyword whole __inline__ white
keyword whole __inline white
keyword whole __restrict white
keyword whole __typeof__ white
keyword whole __volatile__ white
keyword whole NULL white
keyword whole alignof white
keyword whole asm white
keyword whole auto white
keyword whole bool white
keyword whole break white
keyword whole case white
keyword whole char white
keyword whole const white
keyword whole continue white
keyword whole default white
keyword whole delete white
keyword whole do white
keyword whole double white
keyword whole else white
keyword whole enum white
keyword whole extern white
keyword whole float white
keyword whole for white
keyword whole goto white
keyword whole if white
keyword whole inline white
keyword whole int white
keyword whole long white
keyword whole register white
keyword whole restrict white
keyword whole return white
keyword whole short white
keyword whole signed white
keyword whole sizeof white
keyword whole static white
keyword whole struct white
keyword whole switch white
keyword whole typedef white
keyword whole typeof white
keyword whole union white
keyword whole unsigned white
keyword whole void white
keyword whole volatile white
keyword whole wchar_t white
keyword whole while white
# Not keywords, but common types
keyword whole int16_t white
keyword whole int32_t white
keyword whole int64_t white
keyword whole int8_t white
keyword whole intptr_t white
keyword whole loff_t white
keyword whole off64_t white
keyword whole off_t white
keyword whole size_t white
keyword whole ssize_t white
keyword whole time_t white
keyword whole u_int16_t white
keyword whole u_int32_t white
keyword whole u_int64_t white
keyword whole u_int8_t white
keyword whole uint16_t white
keyword whole uint32_t white
keyword whole uint64_t white
keyword whole uint8_t white
keyword whole uintptr_t white
# libHX or C++
keyword whole const_cast1 white
keyword whole const_cast2 white
keyword whole const_cast3 white
keyword whole const_cast white
keyword whole dynamic_cast white
keyword whole reinterpret_cast white
keyword whole signed_cast white
keyword whole static_cast white
# C++
keyword whole alignas white
keyword whole catch white
keyword whole class white
keyword whole constexpr white
keyword whole decltype white
keyword whole explicit white
keyword whole final white
keyword whole friend white
keyword whole mutable white
keyword whole namespace white
keyword whole new white
keyword whole nullptr_t white
keyword whole nullptr white
keyword whole operator white
keyword whole override white
keyword whole private white
keyword whole protected white
keyword whole public white
keyword whole template white
keyword whole this white
keyword whole throw white
keyword whole try white
keyword whole typeid white
keyword whole typename white
keyword whole using white
keyword whole virtual white
keyword /\* yellow
keyword \*/ yellow
keyword '\\\{"abtnvfr\}' brightgreen
keyword '\\x\{0123456789abcdefABCDEF\}\{0123456789abcdefABCDEF\}' brightgreen
keyword '\\\{0123\}\{01234567\}\{01234567\}' brightgreen
keyword '\\'' brightgreen
keyword '\\\\' brightgreen
keyword '\\0' brightgreen
keyword '\{\s!"#$%&()\*\+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~\}' brightgreen
keyword \\"
keyword ^ white
keyword ! white
keyword ( brightcyan
keyword ) brightcyan
keyword [ brightcyan
keyword ] brightcyan
keyword { brightcyan
keyword } brightcyan
keyword = white
keyword ? white
keyword & white
keyword \+ white
keyword ~ white
keyword , brightcyan
keyword ; brightcyan
keyword . brightcyan
keyword : white
keyword \* white
keyword % white
keyword - white
keyword < white
keyword > white
keyword // yellow
keyword / white
keyword | white
keyword \s#define\[\t\s\]\[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789\]\[\t\s\]0x\[0123456789abcdefABCDEF\] brightred
context exclusive /\* \*/ yellow
spellcheck
context linestart # \n brightred
keyword Include white red
keyword includE white red
keyword \\\n yellow
keyword /\**\*/ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+\s+ yellow
keyword //\s+\s+\s+ yellow
keyword //\s+\s+ yellow
keyword //\s+ yellow
keyword '\\\{"abtnvfr\}' red
keyword '\\x\{0123456789abcdefABCDEF\}\{0123456789abcdefABCDEF\}' red
keyword '\\\{0123\}\{01234567\}\{01234567\}' red
keyword '\\'' red
keyword '\\\\' red
keyword '\\0' red
keyword '\{\s!"#$%&()\*\+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~\}' red
keyword "*" red
keyword <*> red
context exclusive // \n yellow
spellcheck
context " " green
keyword \\\\ brightgreen
keyword \\" brightgreen
|