diff --git a/syntaxes/connectors.jsonselection.json b/syntaxes/connectors.jsonselection.json index 4bfb6fef..4bb4daad 100644 --- a/syntaxes/connectors.jsonselection.json +++ b/syntaxes/connectors.jsonselection.json @@ -50,11 +50,17 @@ "NamedSelection": { "name": "meta.NamedSelection", "patterns": [ + { + "include": "#PathWithSubSelection" + }, { "include": "#NamedFieldSelection" }, { "include": "#NamedPathSelection" + }, + { + "include": "#NamedGroupSelection" } ] }, diff --git a/syntaxes/connectors.jsonselection.yaml b/syntaxes/connectors.jsonselection.yaml index 996ac386..672b1512 100644 --- a/syntaxes/connectors.jsonselection.yaml +++ b/syntaxes/connectors.jsonselection.yaml @@ -31,10 +31,10 @@ repository: NamedSelection: name: "meta.NamedSelection" patterns: - # - include: "#PathWithSubSelection" + - include: "#PathWithSubSelection" - include: "#NamedFieldSelection" - include: "#NamedPathSelection" - # - include: "#NamedGroupSelection" + - include: "#NamedGroupSelection" # NamedPathSelection ::= Alias PathSelection NamedPathSelection: begin: "\\b([a-zA-Z][0-9a-zA-Z_]*)\\s*(:)"