From 30646f6c55a86db612766ef3fae3bfe1b5ad581f Mon Sep 17 00:00:00 2001 From: Harsh Singh Date: Wed, 2 Aug 2023 23:38:47 +0530 Subject: [PATCH] Minor fixes --- src/syntaxes/ftd.tmLanguage.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/syntaxes/ftd.tmLanguage.json b/src/syntaxes/ftd.tmLanguage.json index 5e03e29..98f99fd 100644 --- a/src/syntaxes/ftd.tmLanguage.json +++ b/src/syntaxes/ftd.tmLanguage.json @@ -22,12 +22,12 @@ }, { "name": "entity.name.function", - "match": "(--\\s*)(\\w+.*):", + "match": "^(--\\s*)([\\w$\\-_. ]+)(?=\\s*:\\s)", "captures": { "1": { "name": "punctuation.definition.section.start.ftd" }, "2": { "name": "entity.name.function" } } - }, + }, { "name": "entity.section.end.ftd", "match": "(--\\s*)(end:)\\s*((?:\\w+[\\-\\.\\w]*)+)",