diff --git a/kivy/tools/highlight/kivy.json-tmlanguage b/kivy/tools/highlight/kivy.json-tmlanguage index 4713f06bf..627094fe1 100644 --- a/kivy/tools/highlight/kivy.json-tmlanguage +++ b/kivy/tools/highlight/kivy.json-tmlanguage @@ -13,7 +13,7 @@ { "match": ".*?:$", "name": "support.function.kivy" }, { "name": "entity.name.section.kivy", - "match": "(.*?):" }, + "match": "(.*?):$" }, { "include": "source.python" } ], "uuid": "49cecc44-5094-48ec-a876-91f597e8bf81" diff --git a/kivy/tools/highlight/kivy.tmLanguage b/kivy/tools/highlight/kivy.tmLanguage index bc30a2118..2adf1a5b8 100644 --- a/kivy/tools/highlight/kivy.tmLanguage +++ b/kivy/tools/highlight/kivy.tmLanguage @@ -42,7 +42,7 @@ match - (.*?): + (.*?):$ name entity.name.section.kivy