2024-01-17 06:30:14 +00:00
|
|
|
syntax def "\.def$"
|
|
|
|
comment "//"
|
|
|
|
|
|
|
|
# Commands
|
|
|
|
color magenta "\<(extends|size|vtable(-size)?|property|static-property(-array)?|((static|virtual)-)?method|constructor)\>"
|
|
|
|
|
|
|
|
# Types
|
2024-01-21 23:19:13 +00:00
|
|
|
color green "\<(char|uchar|short|ushort|int|uint|float|bool|void|std::(string|vector|map))\>"
|
2024-01-17 06:30:14 +00:00
|
|
|
|
|
|
|
# Numbers
|
|
|
|
color yellow "0x[a-f0-9]+"
|
|
|
|
|
|
|
|
# Comments
|
|
|
|
color brightblue "//.*"
|
|
|
|
|
|
|
|
# Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|