@@ -247,7 +247,6 @@ export const pythonScopeSupport: LanguageScopeSupportFacetMap = {
247247 // Type. Python have some types, but not these.
248248 "type.alias" : notApplicable ,
249249 "type.cast" : notApplicable ,
250- "type.enum" : notApplicable ,
251250 "type.foreach" : notApplicable ,
252251 "type.interface" : notApplicable ,
253252 "type.field.interface" : notApplicable ,
@@ -256,6 +255,16 @@ export const pythonScopeSupport: LanguageScopeSupportFacetMap = {
256255 "type.resource" : notApplicable ,
257256 "value.typeAlias" : notApplicable ,
258257
258+ // Enum. The way python does enums is via class inheritance, and not as a separate keyword/syntax.
259+ "name.enum" : notApplicable ,
260+ "name.field.enum" : notApplicable ,
261+ "name.iteration.enum" : notApplicable ,
262+ "value.field.enum" : notApplicable ,
263+ "value.iteration.enum" : notApplicable ,
264+ "type.enum" : notApplicable ,
265+ "interior.enum" : notApplicable ,
266+ "statement.enum" : notApplicable ,
267+
259268 // Notebook cell
260269 notebookCell : notApplicable ,
261270 "interior.cell" : notApplicable ,
0 commit comments