| 1 | (comment) @comment |
| 2 | (string) @string |
| 3 | (boolean) @constant.builtin.boolean |
| 4 | (integer) @constant.numeric.integer |
| 5 | |
| 6 | [ |
| 7 | "disable" |
| 8 | "enable" |
| 9 | "extended-analysis" |
| 10 | "external-sources" |
| 11 | "source" |
| 12 | "source-path" |
| 13 | "shell" |
| 14 | ] @keyword |
| 15 | |
| 16 | "=" @operator |
| 17 | |
| 18 | [ |
| 19 | "," |
| 20 | "-" |
| 21 | ] @punctuation.delimiter |
| 22 | |
| 23 | "SC" @special |
| 24 | |
| 25 | (shell) @type.enum.variant |
| 26 | |
| 27 | (all) @variable.builtin |
| 28 | |
| 29 | (identifier) @label |
| 30 | |
| 31 | (source_directive |
| 32 | (identifier) @string.special.path) |
| 33 | |
| 34 | (source_path_directive |
| 35 | (identifier) @string.special.path) |
| 36 | |
| 37 | (source_directive |
| 38 | (identifier) @variable.builtin (#eq? @variable.builtin "SCRIPTDIR")) |
| 39 | |
| 40 | (source_path_directive |
| 41 | (identifier) @variable.builtin (#eq? @variable.builtin "SCRIPTDIR")) |
| 42 | |
| 43 | (enable_directive |
| 44 | (identifier) @diagnostic.error |
| 45 | (#not-any-of? @diagnostic.error |
| 46 | "add-default-case" |
| 47 | "avoid-nullary-conditions" |
| 48 | "check-extra-masked-returns" |
| 49 | "check-set-e-suppressed" |
| 50 | "check-unassigned-uppercase" |
| 51 | "deprecate-which" |
| 52 | "quote-safe-variables" |
| 53 | "require-double-brackets" |
| 54 | "require-variable-braces" |
| 55 | )) |