From af958a3eb9684ac7f432596fc8257c91898129ba Mon Sep 17 00:00:00 2001 From: klymp <14829626+kylmp@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:39:21 +0700 Subject: [PATCH] fix: Some missing syntax highlighting --- syntaxes/huntconfig.tmLanguage.json | 2 +- syntaxes/seqconfig.tmLanguage.json | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/syntaxes/huntconfig.tmLanguage.json b/syntaxes/huntconfig.tmLanguage.json index 5390f85..20eaed7 100644 --- a/syntaxes/huntconfig.tmLanguage.json +++ b/syntaxes/huntconfig.tmLanguage.json @@ -141,7 +141,7 @@ }, { "comment": "Hunt find_newmode values", - "match": "^(find_newmode)=(opplayer[1-5]|applayer[1-5]|queue[1-20])?", + "match": "^(find_newmode)=(opplayer[1-5]|applayer[1-5]|queue([1-9]|1[0-9]|20))?", "captures": { "1": { "name": "entity.name.type.huntconfig.key" diff --git a/syntaxes/seqconfig.tmLanguage.json b/syntaxes/seqconfig.tmLanguage.json index 1b80ec3..9f4a968 100644 --- a/syntaxes/seqconfig.tmLanguage.json +++ b/syntaxes/seqconfig.tmLanguage.json @@ -91,6 +91,30 @@ } } }, + { + "comment": "Sequence replaceheld values", + "match": "^(righthand|lefthand)=(hide|\\w+)\\b", + "captures": { + "1": { + "name": "entity.name.type.seqconfig.key" + }, + "2": { + "name": "constant.numeric.seqconfig.value" + } + } + }, + { + "comment": "Sequence replay values", + "match": "^(replayoff|replaycount)=(\\d+)\\b", + "captures": { + "1": { + "name": "entity.name.type.seqconfig.key" + }, + "2": { + "name": "constant.numeric.seqconfig.value" + } + } + }, { "comment": "Sequence preanim_move values", "match": "^(preanim_move)=(\\w+)\\b",