Skip to content

Commit 1d4c887

Browse files
committed
Rebase on top of HEAD and disable previous queries and supported scopes
1 parent 7bd621d commit 1d4c887

File tree

6 files changed

+36
-36
lines changed

6 files changed

+36
-36
lines changed

packages/common/src/scopeSupportFacets/haskell.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
2323
// "class.instance": unsupported,
2424
className: unsupported,
2525

26-
namedFunction: supported,
26+
namedFunction: unsupported,
2727
"namedFunction.method": unsupported,
2828
anonymousFunction: unsupported,
29-
functionName: supported,
29+
functionName: unsupported,
3030

3131
functionCall: unsupported,
3232
"functionCall.constructor": unsupported,
@@ -35,16 +35,16 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
3535

3636
"argument.actual": unsupported,
3737
"argument.actual.iteration": unsupported,
38-
"argument.formal": supported,
39-
"argument.formal.iteration": supported,
38+
"argument.formal": unsupported,
39+
"argument.formal.iteration": unsupported,
4040

4141
"comment.line": unsupported,
4242
"comment.block": unsupported,
4343

4444
"string.singleLine": unsupported,
4545

46-
"branch.match": supported,
47-
"branch.match.iteration": supported,
46+
"branch.match": unsupported,
47+
"branch.match.iteration": unsupported,
4848
"branch.if": unsupported,
4949
"branch.if.iteration": unsupported,
5050
"branch.ternary": unsupported,
@@ -54,7 +54,7 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
5454

5555
"name.assignment": unsupported,
5656
"name.assignment.pattern": unsupported,
57-
"name.function": supported,
57+
"name.function": unsupported,
5858
"name.class": unsupported,
5959
"name.field": unsupported,
6060

@@ -77,7 +77,7 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
7777
// "type.field": unsupported,
7878
// "type.foreignExport": unsupported,
7979
// "type.foreignImport": unsupported,
80-
"type.formalParameter": unsupported,
80+
// "type.formalParameter": unsupported,
8181
// "type.function": unsupported,
8282
// "type.gadt": unsupported,
8383
// "type.newtype": unsupported,

queries/haskell.scm

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +0,0 @@
1-
;; import haskell/haskell.branch.scm
2-
;; import haskell/haskell.functionApplication.scm
3-
;; import haskell/haskell.functionDeclaration.scm
4-
5-
;; Short declarations are below.
6-
7-
;; anonymousFunction
8-
(exp_lambda) @anonymousFunction
9-
(exp_lambda_case) @anonymousFunction
10-
11-
;; list
12-
(exp_list) @list
13-
(exp_list_comprehension) @list
14-
(exp_tuple) @list
15-
(exp_unboxed_tuple) @list
16-
(pat_list) @list
17-
(pat_tuple) @list
18-
(pat_unboxed_tuple) @list
19-
(type_tuple) @list
20-
(type_unboxed_tuple) @list
21-
22-
;; map
23-
(exp_record) @map
24-
(pat_record) @map
25-
26-
;; string
27-
(string) @string
28-
(char) @string

queries/haskell.scm.disabled

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
;; ;; import haskell/haskell.branch.scm
2+
;; ;; import haskell/haskell.functionApplication.scm
3+
;; ;; import haskell/haskell.functionDeclaration.scm
4+
5+
;; Short declarations are below.
6+
7+
;; anonymousFunction
8+
(exp_lambda) @anonymousFunction
9+
(exp_lambda_case) @anonymousFunction
10+
11+
;; list
12+
(exp_list) @list
13+
(exp_list_comprehension) @list
14+
(exp_tuple) @list
15+
(exp_unboxed_tuple) @list
16+
(pat_list) @list
17+
(pat_tuple) @list
18+
(pat_unboxed_tuple) @list
19+
(type_tuple) @list
20+
(type_unboxed_tuple) @list
21+
22+
;; map
23+
(exp_record) @map
24+
(pat_record) @map
25+
26+
;; string
27+
(string) @string
28+
(char) @string

0 commit comments

Comments
 (0)