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 ab11682 commit 1284c8dCopy full SHA for 1284c8d
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: `(?<!\\=\\s*)\\b(${allKeywords.join('|')})\\b(?=\\s*\\S)(?!\\s*(=|;|\\(|\\[|\\)|,(?!\u200B)))`,
+ match: `(?<!\\=\\s*)\\b(${allKeywords.join('|')})\\b(?=\\s*\\S)(?!\\s*(=|;|\\(|\\[|\\)|,(?!\u200B)|\\s*--))`,
62
name: 'keyword.mta',
63
});
64
}
0 commit comments