Skip to content

Commit 6516b86

Browse files
committed
Fixed additional case of incorrect highlighting (OOP).
sound.volume player.name vehicle.health
1 parent 1284c8d commit 6516b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/mta_highlighting/generate-lua-tmlanguage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async function generateTmLanguage() {
5858

5959
if (allKeywords.length > 0) {
6060
patterns.push({
61-
match: `(?<!\\=\\s*)\\b(${allKeywords.join('|')})\\b(?=\\s*\\S)(?!\\s*(=|;|\\(|\\[|\\)|,(?!\u200B)|\\s*--))`,
61+
match: `(?<!\\=\\s*)\\b(${allKeywords.join('|')})\\b(?=\\s*\\S)(?!\\s*(=|;|\\(|\\[|\\)|,(?!\u200B)|\\s*--|\\.))`,
6262
name: 'keyword.mta',
6363
});
6464
}

0 commit comments

Comments
 (0)