Skip to content

Commit 3c33878

Browse files
committed
Fixes to scope support
1 parent e693298 commit 3c33878

File tree

1 file changed

+29
-30
lines changed

1 file changed

+29
-30
lines changed

packages/common/src/scopeSupportFacets/haskell.ts

+29-30
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
2020
"statement.iteration.block": unsupported,
2121

2222
class: unsupported,
23+
// "class.instance": unsupported,
2324
className: unsupported,
25+
2426
namedFunction: supported,
2527
"namedFunction.method": unsupported,
2628
anonymousFunction: unsupported,
@@ -31,57 +33,54 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
3133
functionCallee: unsupported,
3234
"functionCallee.constructor": unsupported,
3335

34-
"argument.actual": supported,
35-
"argument.actual.iteration": supported,
36-
"argument.formal": unsupported,
37-
"argument.formal.iteration": unsupported,
36+
"argument.actual": unsupported,
37+
"argument.actual.iteration": unsupported,
38+
"argument.formal": supported,
39+
"argument.formal.iteration": supported,
3840

3941
"comment.line": unsupported,
4042
"comment.block": unsupported,
4143

4244
"string.singleLine": unsupported,
43-
"string.multiLine": notApplicable,
4445

4546
"branch.match": supported,
4647
"branch.match.iteration": supported,
4748
"branch.if": unsupported,
4849
"branch.if.iteration": unsupported,
49-
"branch.try": notApplicable,
50-
"branch.switchCase": notApplicable,
51-
"branch.switchCase.iteration": notApplicable,
52-
"branch.ternary": notApplicable,
50+
"branch.ternary": unsupported,
5351

5452
"condition.if": unsupported,
55-
"condition.while": notApplicable,
56-
"condition.doWhile": notApplicable,
57-
"condition.for": notApplicable,
58-
"condition.ternary": notApplicable,
59-
"condition.switchCase": notApplicable,
53+
"condition.ternary": unsupported,
6054

6155
"name.assignment": unsupported,
6256
"name.assignment.pattern": unsupported,
63-
"name.foreach": notApplicable,
6457
"name.function": supported,
6558
"name.class": unsupported,
6659
"name.field": unsupported,
6760

68-
"key.attribute": notApplicable,
69-
"key.mapPair": notApplicable,
70-
"key.mapPair.iteration": notApplicable,
61+
"key.mapPair": unsupported,
62+
"key.mapPair.iteration": unsupported,
7163

7264
"value.assignment": unsupported,
7365
"value.mapPair": unsupported,
7466
"value.mapPair.iteration": unsupported,
75-
"value.attribute": notApplicable,
76-
"value.foreach": notApplicable,
77-
"value.return": notApplicable,
78-
"value.return.lambda": notApplicable,
79-
"value.field": notApplicable,
80-
81-
"type.assignment": notApplicable,
82-
"type.formalParameter": notApplicable,
83-
"type.return": notApplicable,
84-
"type.field": notApplicable,
85-
"type.foreach": notApplicable,
86-
"type.interface": notApplicable,
67+
"value.return": unsupported,
68+
"value.return.lambda": unsupported,
69+
"value.field": unsupported,
70+
71+
// "type.adt": unsupported,
72+
// "type.alias": unsupported,
73+
// "type.annotation": unsupported,
74+
// "type.constraint": unsupported,
75+
// "type.dataFamily": unsupported,
76+
// "type.dataInstance": unsupported,
77+
// "type.field": unsupported,
78+
// "type.foreignExport": unsupported,
79+
// "type.foreignImport": unsupported,
80+
"type.formalParameter": unsupported,
81+
// "type.function": unsupported,
82+
// "type.gadt": unsupported,
83+
// "type.newtype": unsupported,
84+
// "type.typeFamily": unsupported,
85+
// "type.typeInstance": unsupported,
8786
};

0 commit comments

Comments
 (0)