From a2dc2b9357b4dfa501ef10dfd4adc06b4cf95195 Mon Sep 17 00:00:00 2001 From: Jeff Hykin <jeff.hykin@gmail.com> Date: Sun, 12 Jan 2020 22:53:40 -0600 Subject: [PATCH] add distinction between `func()` and `.func()` Allows this kind of theme highlighting   All tests pass once generated --- TypeScript.YAML-tmLanguage | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TypeScript.YAML-tmLanguage b/TypeScript.YAML-tmLanguage index b8356965..455386db 100644 --- a/TypeScript.YAML-tmLanguage +++ b/TypeScript.YAML-tmLanguage @@ -1465,6 +1465,8 @@ repository: end: (?={{functionCallLookup}}) patterns: - include: '#support-function-call-identifiers' + - name: entity.name.function.property.ts + match: (?=\.)({{propertyIdentifier}}) - name: entity.name.function.ts match: ({{propertyIdentifier}}) - include: '#comment'