diff --git a/config/c.conf b/config/c.conf index dc29867..eba8746 100644 --- a/config/c.conf +++ b/config/c.conf @@ -10,11 +10,13 @@ # Strings in double quotes and single quotes '"(.*?)"': BLUE "'(.)'": BLUE +# Text inside angle-brackets (used in 'include' statements) +'\<(.*?)\>': BLUE # Assignments and comparisons # TODO: Add less than, greater than, not equal to, and struct pointer member access '(?:\s|\b)(=|==|!=|<=|>=|\->)(\s|\b)' : CYAN # Keywords '\b(if|else|while|do|for|return)\b': CYAN -'^(#ifdef|#ifndef|#define|#include)\b': CYAN +'(\n|^)(#ifdef|#ifndef|#define|#include)\b': CYAN # Data Types '\b(int|char|float|double|void|long|short|unsigned|signed|bool)\b': YELLOW