Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[
  (if_statement)
  (for_statement)
  (while_statement)
  (match_statement)
  (pattern_section)

  (function_definition)
  (constructor_definition)
  (class_definition)
  (enum_definition)

  (dictionary (_))
  (array (_))
  (setget)
] @indent

[
  (if_statement)
  (for_statement)
  (while_statement)
  (match_statement)
  (pattern_section)

  (function_definition)
  (class_definition)
] @extend

[
  (return_statement)
  (break_statement)
  (continue_statement)
  (pass_statement)
] @extend.prevent-once

t! injection.language "json") (#set! injection.combined)) ; Phoenix Live View HEEx Sigils ((sigil (sigil_name) @_sigil_name (quoted_content) @injection.content) (#eq? @_sigil_name "H") (#set! injection.language "heex") (#set! injection.combined)) ; Phoenix Live View Component Macros (call (identifier) @_identifier (arguments (atom)+ (keywords (pair ((keyword) @_keyword (#eq? @_keyword "doc: ")) [ (string (quoted_content) @injection.content) (sigil (quoted_content) @injection.content) ])) (#match? @_identifier "^(attr|slot)$") (#set! injection.language "markdown")))