Updated config file to recognize include headers
This commit is contained in:
@@ -10,11 +10,13 @@
|
|||||||
# Strings in double quotes and single quotes
|
# Strings in double quotes and single quotes
|
||||||
'"(.*?)"': BLUE
|
'"(.*?)"': BLUE
|
||||||
"'(.)'": BLUE
|
"'(.)'": BLUE
|
||||||
|
# Text inside angle-brackets (used in 'include' statements)
|
||||||
|
'\<(.*?)\>': BLUE
|
||||||
# Assignments and comparisons
|
# Assignments and comparisons
|
||||||
# TODO: Add less than, greater than, not equal to, and struct pointer member access
|
# TODO: Add less than, greater than, not equal to, and struct pointer member access
|
||||||
'(?:\s|\b)(=|==|!=|<=|>=|\->)(\s|\b)' : CYAN
|
'(?:\s|\b)(=|==|!=|<=|>=|\->)(\s|\b)' : CYAN
|
||||||
# Keywords
|
# Keywords
|
||||||
'\b(if|else|while|do|for|return)\b': CYAN
|
'\b(if|else|while|do|for|return)\b': CYAN
|
||||||
'^(#ifdef|#ifndef|#define|#include)\b': CYAN
|
'(\n|^)(#ifdef|#ifndef|#define|#include)\b': CYAN
|
||||||
# Data Types
|
# Data Types
|
||||||
'\b(int|char|float|double|void|long|short|unsigned|signed|bool)\b': YELLOW
|
'\b(int|char|float|double|void|long|short|unsigned|signed|bool)\b': YELLOW
|
||||||
|
Reference in New Issue
Block a user