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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
(comment) @comment
(string) @string
(boolean) @constant.builtin.boolean
(integer) @constant.numeric.integer

[
  "disable"
  "enable"
  "extended-analysis"
  "external-sources"
  "source"
  "source-path"
  "shell"
] @keyword

"=" @operator

[
  ","
  "-"
] @punctuation.delimiter

"SC" @special

(shell) @type.enum.variant

(all) @variable.builtin

(identifier) @label

(source_directive
  (identifier) @string.special.path)

(source_path_directive
  (identifier) @string.special.path)

(source_directive
  (identifier) @variable.builtin (#eq? @variable.builtin "SCRIPTDIR"))

(source_path_directive
  (identifier) @variable.builtin (#eq? @variable.builtin "SCRIPTDIR"))

(enable_directive
  (identifier) @diagnostic.error
  (#not-any-of? @diagnostic.error
    "add-default-case"
    "avoid-nullary-conditions"
    "check-extra-masked-returns"
    "check-set-e-suppressed"
    "check-unassigned-uppercase"
    "deprecate-which"
    "quote-safe-variables"
    "require-double-brackets"
    "require-variable-braces"
  ))