Skip to content

Commit 7b5dd7c

Browse files
Sort up
1 parent 77903ed commit 7b5dd7c

File tree

1 file changed

+11
-14
lines changed
  • packages/common/src/scopeSupportFacets

1 file changed

+11
-14
lines changed

packages/common/src/scopeSupportFacets/python.ts

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -161,26 +161,30 @@ export const pythonScopeSupport: LanguageScopeSupportFacetMap = {
161161
pairDelimiter: supported,
162162
fieldAccess: supported,
163163

164-
// Unsupported
165-
166-
"namedFunction.iteration.block": unsupported,
167-
"functionName.iteration.block": unsupported,
168-
"class.iteration.block": unsupported,
169-
"className.iteration.block": unsupported,
170-
171164
// Not applicable
172165

166+
"class.iteration.block": notApplicable,
167+
"className.iteration.block": notApplicable,
173168
"comment.block": notApplicable,
174169
"condition.doWhile": notApplicable,
175170
"condition.for": notApplicable,
171+
"functionName.iteration.block": notApplicable,
176172
"interior.cell": notApplicable,
177173
"interior.command": notApplicable,
178174
"interior.element": notApplicable,
179175
"key.attribute": notApplicable,
176+
"namedFunction.iteration.block": notApplicable,
180177
"section.iteration.document": notApplicable,
181178
"section.iteration.parent": notApplicable,
182179
"textFragment.comment.block": notApplicable,
183180
"textFragment.element": notApplicable,
181+
"type.alias": notApplicable,
182+
"type.cast": notApplicable,
183+
"type.enum": notApplicable,
184+
"type.foreach": notApplicable,
185+
"type.interface": notApplicable,
186+
"type.resource.iteration": notApplicable,
187+
"type.resource": notApplicable,
184188
"value.attribute": notApplicable,
185189
"value.typeAlias": notApplicable,
186190
attribute: notApplicable,
@@ -193,11 +197,4 @@ export const pythonScopeSupport: LanguageScopeSupportFacetMap = {
193197
section: notApplicable,
194198
startTag: notApplicable,
195199
tags: notApplicable,
196-
"type.alias": notApplicable,
197-
"type.enum": notApplicable,
198-
"type.cast": notApplicable,
199-
"type.foreach": notApplicable,
200-
"type.resource": notApplicable,
201-
"type.resource.iteration": notApplicable,
202-
"type.interface": notApplicable,
203200
};

0 commit comments

Comments
 (0)