Debian Codegraph @

runtime/queries/dbml/highlights.scm

raw symbols SCIP
1
2 ; comments highlighting
3 (comment) @comment
4
5 ; keyword highlighting
6 (keyword_def) @keyword
7 (keyword_enum) @keyword
8 (keyword_ref) @keyword
9
10 ; identify blocks and definitions
11 (definition) @function
12
13 ; for identifiers
14 (identifier) @variable
15 (type) @keyword
16
17 ; Highlight special types for database/data types
18 ("Project" ) @type
19 ("Table" ) @type
20 ("TableGroup" ) @type
21 ("database_type" ) @variable
22
23 ; string and number constants
24 ("'''") @constant.character.escape
25 (string) @string
26 (number) @constant.numeric
27
28 ; brackets
29 [
30 "("
31 ")"
32 "{"
33 "}"
34 "["
35 "]"
36 ] @punctuation.bracket
37
38 ; brackets
39 [
40 ":"
41 "."
42 ","
43 ] @punctuation.delimiter
44