We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1816878 commit f78b6a7Copy full SHA for f78b6a7
web/mta_highlighting/generate-lua-tmlanguage.js
@@ -58,7 +58,7 @@ async function generateTmLanguage() {
58
59
if (allKeywords.length > 0) {
60
patterns.push({
61
- match: `\\b(${allKeywords.join('|')})\\b`,
+ match: `\\b(${allKeywords.join('|')})\\b(?!\\s*(=|,|;|\\(|\\[|\\)))`,
62
name: 'keyword.mta',
63
});
64
}
0 commit comments