syntax: c: colorize also the keywords that start with an underscore

Signed-off-by: Hussam al-Homsi <sawuare@gmail.com>
This commit is contained in:
Hussam al-Homsi 2020-09-05 12:22:42 -04:00 committed by Benno Schulenberg
parent 1716f140b7
commit e1cf93640c

View File

@ -12,6 +12,7 @@ color brightmagenta "^[[:space:]]*[A-Z_a-z]+:[[:space:]]*$"
color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|auto|static|const|restrict|struct|union|typedef|extern|(un)?signed|inline)\>"
color green "\<([[:lower:]][[:lower:]_]*|(u_?)?int(8|16|32|64))_t\>"
color green "\<(_(Alignas|Alignof|Atomic|Bool|Complex|Generic|Imaginary|Noreturn|Static_assert|Thread_local))\>"
color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|override|using|mutable|volatile|register|explicit)\>"
color brightyellow "\<(for|if|while|do|else|case|default|switch)\>"
color brightyellow "\<(try|throw|catch|operator|new|delete)\>"