diff --git a/client/src/widget/propertyluacodeedit.cpp b/client/src/widget/propertyluacodeedit.cpp index 87b85c43..eb4bf432 100644 --- a/client/src/widget/propertyluacodeedit.cpp +++ b/client/src/widget/propertyluacodeedit.cpp @@ -182,7 +182,10 @@ PropertyLuaCodeEdit::Highlighter::Highlighter(QTextDocument* parent) : m_rules.append(Rule(regex, Qt::magenta)); const auto globals = { - QStringLiteral("\\log(?=\\.)"), + QStringLiteral("\\bmath(?=\\.)"), + QStringLiteral("\\bstring(?=\\.)"), + QStringLiteral("\\btable(?=\\.)"), + QStringLiteral("\\blog(?=\\.)"), QStringLiteral("\\bworld(?=\\.)"), QStringLiteral("\\bset(?=\\.)"), QStringLiteral("\\benum(?=\\.)"),