Skip to content

Commit

Permalink
Rebase on top of HEAD and disable previous queries and supported scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
wenkokke committed Sep 13, 2024
1 parent 7bd621d commit 1d4c887
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 36 deletions.
16 changes: 8 additions & 8 deletions packages/common/src/scopeSupportFacets/haskell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
// "class.instance": unsupported,
className: unsupported,

namedFunction: supported,
namedFunction: unsupported,
"namedFunction.method": unsupported,
anonymousFunction: unsupported,
functionName: supported,
functionName: unsupported,

functionCall: unsupported,
"functionCall.constructor": unsupported,
Expand All @@ -35,16 +35,16 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {

"argument.actual": unsupported,
"argument.actual.iteration": unsupported,
"argument.formal": supported,
"argument.formal.iteration": supported,
"argument.formal": unsupported,
"argument.formal.iteration": unsupported,

"comment.line": unsupported,
"comment.block": unsupported,

"string.singleLine": unsupported,

"branch.match": supported,
"branch.match.iteration": supported,
"branch.match": unsupported,
"branch.match.iteration": unsupported,
"branch.if": unsupported,
"branch.if.iteration": unsupported,
"branch.ternary": unsupported,
Expand All @@ -54,7 +54,7 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {

"name.assignment": unsupported,
"name.assignment.pattern": unsupported,
"name.function": supported,
"name.function": unsupported,
"name.class": unsupported,
"name.field": unsupported,

Expand All @@ -77,7 +77,7 @@ export const haskellScopeSupport: LanguageScopeSupportFacetMap = {
// "type.field": unsupported,
// "type.foreignExport": unsupported,
// "type.foreignImport": unsupported,
"type.formalParameter": unsupported,
// "type.formalParameter": unsupported,
// "type.function": unsupported,
// "type.gadt": unsupported,
// "type.newtype": unsupported,
Expand Down
File renamed without changes.
28 changes: 0 additions & 28 deletions queries/haskell.scm
Original file line number Diff line number Diff line change
@@ -1,28 +0,0 @@
;; import haskell/haskell.branch.scm
;; import haskell/haskell.functionApplication.scm
;; import haskell/haskell.functionDeclaration.scm

;; Short declarations are below.

;; anonymousFunction
(exp_lambda) @anonymousFunction
(exp_lambda_case) @anonymousFunction

;; list
(exp_list) @list
(exp_list_comprehension) @list
(exp_tuple) @list
(exp_unboxed_tuple) @list
(pat_list) @list
(pat_tuple) @list
(pat_unboxed_tuple) @list
(type_tuple) @list
(type_unboxed_tuple) @list

;; map
(exp_record) @map
(pat_record) @map

;; string
(string) @string
(char) @string
28 changes: 28 additions & 0 deletions queries/haskell.scm.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
;; ;; import haskell/haskell.branch.scm
;; ;; import haskell/haskell.functionApplication.scm
;; ;; import haskell/haskell.functionDeclaration.scm

;; Short declarations are below.

;; anonymousFunction
(exp_lambda) @anonymousFunction
(exp_lambda_case) @anonymousFunction

;; list
(exp_list) @list
(exp_list_comprehension) @list
(exp_tuple) @list
(exp_unboxed_tuple) @list
(pat_list) @list
(pat_tuple) @list
(pat_unboxed_tuple) @list
(type_tuple) @list
(type_unboxed_tuple) @list

;; map
(exp_record) @map
(pat_record) @map

;; string
(string) @string
(char) @string

0 comments on commit 1d4c887

Please sign in to comment.