nvim-treesitter/runtime/queries/haskell/highlights.scm

498 lines
9.1 KiB
Scheme
Raw Normal View History

2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Parameters and variables
; NOTE: These are at the top, so that they have low priority,
; and don't override destructured parameters
(variable) @variable
2024-01-06 15:05:50 +09:00
(decl/function
patterns: (patterns
(_) @variable.parameter))
(expression/lambda
patterns: (patterns
(_) @variable.parameter)
2024-01-06 15:05:50 +09:00
"->")
(decl/function
(infix
(pattern) @variable.parameter))
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Literals and comments
2021-04-21 16:05:06 +07:00
(integer) @number
2024-01-06 15:05:50 +09:00
(negation) @number
2024-01-06 15:05:50 +09:00
(expression/literal
2024-01-06 15:05:50 +09:00
(float)) @number.float
2021-04-21 16:05:06 +07:00
(char) @character
2024-01-06 15:05:50 +09:00
2021-04-21 16:05:06 +07:00
(string) @string
(comment) @comment
(haddock) @comment.documentation
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Punctuation
[
"("
")"
"{"
"}"
"["
"]"
] @punctuation.bracket
[
","
";"
] @punctuation.delimiter
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Keywords, operators, includes
2021-04-21 16:05:06 +07:00
[
"forall"
; "∀" ; utf-8 is not cross-platform safe
feat!: align standard captures with upstream Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
] @keyword.repeat
2021-04-21 16:05:06 +07:00
feat!: align standard captures with upstream Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
(pragma) @keyword.directive
2021-04-21 16:05:06 +07:00
[
"if"
"then"
"else"
"case"
"of"
feat!: align standard captures with upstream Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
] @keyword.conditional
2021-04-21 16:05:06 +07:00
[
"import"
"qualified"
"module"
feat!: align standard captures with upstream Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
] @keyword.import
2021-04-21 16:05:06 +07:00
[
(operator)
(constructor_operator)
(all_names)
"."
".."
"="
"|"
2021-04-21 16:05:06 +07:00
"::"
"=>"
"->"
"<-"
"\\"
"`"
"@"
2021-04-21 16:05:06 +07:00
] @operator
(wildcard) @character.special
(module
(module_id) @module)
2021-04-21 16:05:06 +07:00
[
"where"
2021-04-21 16:05:06 +07:00
"let"
"in"
"class"
"instance"
"pattern"
2021-04-21 16:05:06 +07:00
"data"
"newtype"
"family"
"type"
"as"
"hiding"
2021-04-21 16:05:06 +07:00
"deriving"
"via"
"stock"
"anyclass"
"do"
"mdo"
"rec"
2022-01-08 11:12:08 +07:00
"infix"
"infixl"
"infixr"
2021-04-21 16:05:06 +07:00
] @keyword
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Functions and variables
(decl/signature
[
name: (variable) @function
names: (binding_list
(variable) @function)
])
(decl/function
[
name: (variable) @function
names: (binding_list
(variable) @function)
])
(decl/bind
[
name: (variable) @function
names: (binding_list
(variable) @function)
])
(decl/bind
name: (variable) @variable)
2024-01-06 15:05:50 +09:00
; Consider signatures (and accompanying functions)
; with only one value on the rhs as variables
(decl/signature
name: (variable) @variable
type: (type))
2024-01-06 15:05:50 +09:00
((decl/signature
name: (variable) @_name
type: (type))
2024-01-06 15:05:50 +09:00
.
(decl
[
(signature
name: (variable) @variable)
(function
name: (variable) @variable)
(bind
name: (variable) @variable)
])
2024-08-01 15:40:23 +09:00
match: (_)
(#eq? @_name @variable))
2024-01-06 15:05:50 +09:00
; but consider a type that involves 'IO' a decl/function
(decl/signature
2024-01-06 15:05:50 +09:00
name: (variable) @function
type: (type/apply
constructor: (name) @_type)
2024-01-06 15:05:50 +09:00
(#eq? @_type "IO"))
((decl/signature
2024-01-06 15:05:50 +09:00
name: (variable) @_name
type: (type/apply
constructor: (name) @_type)
2024-01-06 15:05:50 +09:00
(#eq? @_type "IO"))
.
(decl
[
(signature
name: (variable) @function)
(function
name: (variable) @function)
(bind
name: (variable) @function)
])
2024-08-01 15:40:23 +09:00
match: (_)
(#eq? @_name @function))
2024-01-06 15:05:50 +09:00
((decl/signature) @function
2024-01-06 15:05:50 +09:00
.
(decl/function
name: (variable) @function))
2024-01-06 15:05:50 +09:00
(decl/bind
name: (variable) @function
(match
expression: (expression/lambda)))
; view patterns
(view_pattern
2024-01-06 15:05:50 +09:00
[
(expression/variable) @function.call
(expression/qualified
(variable) @function.call)
2024-01-06 15:05:50 +09:00
])
; consider infix functions as operators
(infix_id
2024-01-06 15:05:50 +09:00
[
2024-01-21 22:05:44 +09:00
(variable) @operator
(qualified
2024-01-06 15:05:50 +09:00
(variable) @operator)
])
; decl/function calls with an infix operator
; e.g. func <$> a <*> b
(infix
left_operand: [
(variable) @function.call
(qualified
((module) @module
(variable) @function.call))
]
operator: (operator))
2024-01-06 15:05:50 +09:00
; infix operators applied to variables
((expression/variable) @variable
2024-01-06 15:05:50 +09:00
.
(operator))
((operator)
.
[
(expression/variable) @variable
(expression/qualified
(variable) @variable)
2024-01-06 15:05:50 +09:00
])
; infix operator function definitions
(function
(infix
left_operand: [
(variable) @variable.parameter
(qualified
((module) @module
(variable) @variable))
])
match: (match))
; decl/function calls with infix operators
([
(expression/variable) @function.call
(expression/qualified
(variable) @function.call)
]
2024-01-06 15:05:50 +09:00
.
(operator) @_op
(#any-of? @_op "$" "<$>" ">>=" "=<<"))
; right hand side of infix operator
((infix
2024-01-06 15:05:50 +09:00
[
(operator)
(infix_id
(variable))
2024-01-06 15:05:50 +09:00
] ; infix or `func`
.
[
(variable) @function.call
(qualified
(variable) @function.call)
])
2024-01-06 15:05:50 +09:00
.
(operator) @_op
(#any-of? @_op "$" "<$>" "=<<"))
; decl/function composition, arrows, monadic composition (lhs)
([
(expression/variable) @function
(expression/qualified
(variable) @function)
]
2024-01-06 15:05:50 +09:00
.
(operator) @_op
(#any-of? @_op "." ">>>" "***" ">=>" "<=<"))
; right hand side of infix operator
((infix
2024-01-06 15:05:50 +09:00
[
(operator)
(infix_id
(variable))
2024-01-06 15:05:50 +09:00
] ; infix or `func`
.
[
(variable) @function
(qualified
(variable) @function)
])
2024-01-06 15:05:50 +09:00
.
(operator) @_op
(#any-of? @_op "." ">>>" "***" ">=>" "<=<"))
; function composition, arrows, monadic composition (rhs)
2024-01-06 15:05:50 +09:00
((operator) @_op
.
[
(expression/variable) @function
(expression/qualified
(variable) @function)
]
2024-01-06 15:05:50 +09:00
(#any-of? @_op "." ">>>" "***" ">=>" "<=<"))
; function defined in terms of a function composition
(decl/function
name: (variable) @function
(match
expression: (infix
operator: (operator) @_op
(#any-of? @_op "." ">>>" "***" ">=>" "<=<"))))
(apply
[
(expression/variable) @function.call
(expression/qualified
(variable) @function.call)
])
; function compositions, in parentheses, applied
; lhs
(apply
2024-01-06 15:05:50 +09:00
.
(expression/parens
(infix
[
(variable) @function.call
(qualified
(variable) @function.call)
]
2024-01-06 15:05:50 +09:00
.
(operator))))
; rhs
(apply
2024-01-06 15:05:50 +09:00
.
(expression/parens
(infix
2024-01-06 15:05:50 +09:00
(operator)
.
[
(variable) @function.call
(qualified
(variable) @function.call)
])))
2024-01-06 15:05:50 +09:00
; variables being passed to a function call
(apply
(_)
2024-01-06 15:05:50 +09:00
.
[
(expression/variable) @variable
(expression/qualified
(variable) @variable)
])
2024-01-06 15:05:50 +09:00
; main is always a function
; (this prevents `main = undefined` from being highlighted as a variable)
(decl/bind
2024-01-06 15:05:50 +09:00
name: (variable) @function
(#eq? @function "main"))
2024-01-06 15:05:50 +09:00
; scoped function types (func :: a -> b)
(signature
pattern: (pattern/variable) @function
type: (function))
2024-01-06 15:05:50 +09:00
; signatures that have a function type
; + binds that follow them
(decl/signature
name: (variable) @function
type: (function))
2024-01-06 15:05:50 +09:00
((decl/signature
name: (variable) @_name
type: (quantified_type))
2024-01-06 15:05:50 +09:00
.
(decl/bind
2024-01-06 15:05:50 +09:00
(variable) @function)
(#eq? @function @_name))
2024-01-06 15:05:50 +09:00
; Treat constructor assignments (smart constructors) as functions, e.g. mkJust = Just
(bind
name: (variable) @function
match: (match
expression: (constructor)))
2024-01-06 15:05:50 +09:00
; Function composition
(bind
name: (variable) @function
match: (match
expression: (infix
operator: (operator) @_op
(#eq? @_op "."))))
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Types
(name) @type
(type/unit) @type
2024-01-06 15:05:50 +09:00
(type/unit
[
"("
")"
] @type)
(type/list
[
"["
"]"
] @type)
2024-01-06 15:05:50 +09:00
(type/star) @type
(constructor) @constructor
; True or False
2024-01-06 15:05:50 +09:00
((constructor) @boolean
(#any-of? @boolean "True" "False"))
; otherwise (= True)
((variable) @boolean
(#eq? @boolean "otherwise"))
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Quasi-quotes
(quoter) @function.call
2024-01-06 15:05:50 +09:00
(quasiquote
quoter: [
2024-01-06 15:05:50 +09:00
(quoter) @_name
(quoter
(qualified
id: (variable) @_name))
2024-01-06 15:05:50 +09:00
]
(#eq? @_name "qq")
body: (quasiquote_body) @string)
2024-01-06 15:05:50 +09:00
; namespaced quasi-quoter
(quoter
[
(variable) @function.call
(_
(module) @module
.
(variable) @function.call)
])
; Highlighting of quasiquote_body for other languages is handled by injections.scm
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Exceptions/error handling
feat!: align standard captures with upstream Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
((variable) @keyword.exception
(#any-of? @keyword.exception
"error" "undefined" "try" "tryJust" "tryAny" "catch" "catches" "catchJust" "handle" "handleJust"
"throw" "throwIO" "throwTo" "throwError" "ioError" "mask" "mask_" "uninterruptibleMask"
"uninterruptibleMask_" "bracket" "bracket_" "bracketOnErrorSource" "finally" "fail"
"onException" "expectationFailure"))
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Debugging
feat!: align standard captures with upstream Problem: Sharing highlight queries with upstream tree-sitter and Helix is difficult. Solution: Where reasonable, use capture names in tree-sitter's standard list or Helix's Atom-style hierarchy. Specifically: * tree-sitter "standard capture names" (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72): - `@parameter` -> `@variable.parameter` - `@field` -> `@variable.member` - `@namespace` -> `@module` - `@float` -> `@number.float` - `@symbol` -> `@string.special.symbol` - `@string.regex` -> `@string.regexp` - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) * Helix captures (https://docs.helix-editor.com/master/themes.html#syntax-highlighting): - `@method` -> `@function.method` - `@method.call` -> `@function.method.call` - `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}` - `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}` - `@text.uri` -> `@string.special.url` (outside markup) - `@preproc` -> `@keyword.directive` - `@define` -> `@keyword.directive`(`.define`?) - `@storageclass` -> `@keyword.storage` - `@conditional` -> `@keyword.conditional` - `@debug` -> `@keyword.debug` - `@exception` -> `@keyword.exception` - `@include` -> `@keyword.import` - `@repeat` -> `@keyword.repeat` * cleanup - remove some redundant `@conceal` (but still allow it for conceal-only patterns) - remove obsolete `@error` (syntax linting is out of scope for this repo) - sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
((variable) @keyword.debug
(#any-of? @keyword.debug
"trace" "traceId" "traceShow" "traceShowId" "traceWith" "traceShowWith" "traceStack" "traceIO"
"traceM" "traceShowM" "traceEvent" "traceEventWith" "traceEventIO" "flushEventLog" "traceMarker"
"traceMarkerIO"))
2024-01-06 15:05:50 +09:00
; ----------------------------------------------------------------------------
; Fields
(field_name
2024-01-06 15:05:50 +09:00
(variable) @variable.member)
(import_name
(name)
2024-01-06 15:05:50 +09:00
.
(children
2024-01-06 15:05:50 +09:00
(variable) @variable.member))
; ----------------------------------------------------------------------------
; Spell checking
2022-09-07 11:33:02 +02:00
(comment) @spell