1
0
mirror of synced 2024-11-25 00:00:27 +01:00

patterns: Added $ to keyword highlight list

This commit is contained in:
WerWolv 2021-05-17 23:17:00 +02:00
parent 4029c333ed
commit cf67adfa42

View File

@ -15,7 +15,7 @@ namespace hex {
static TextEditor::LanguageDefinition langDef;
if (!initialized) {
static const char* const keywords[] = {
"using", "struct", "union", "enum", "bitfield", "be", "le", "if", "else", "false", "true", "parent", "addressof", "sizeof"
"using", "struct", "union", "enum", "bitfield", "be", "le", "if", "else", "false", "true", "parent", "addressof", "sizeof", "$"
};
for (auto& k : keywords)
langDef.mKeywords.insert(k);