Debian Codegraph @

runtime/queries/kconfig/highlights.scm

raw symbols SCIP
1 [
2 "source"
3 "osource"
4 "rsource"
5 "orsource"
6 ] @keyword.control.import
7
8 [
9 "mainmenu"
10 "config"
11 "configdefault"
12 "menuconfig"
13 "choice"
14 "endchoice"
15 "comment"
16 "menu"
17 "endmenu"
18 "prompt"
19 "default"
20 "range"
21 "help"
22 (optional)
23 (modules)
24 ] @keyword
25
26 [
27 "if"
28 "endif"
29 "depends on"
30 "select"
31 "imply"
32 "visible if"
33 ] @keyword.control.conditional
34
35 [
36 "def_bool"
37 "def_tristate"
38 ] @keyword.function
39
40 [
41 "||"
42 "&&"
43 "="
44 "!="
45 "<"
46 ">"
47 "<="
48 ">="
49 "!"
50 ] @operator
51
52 [
53 "bool"
54 "tristate"
55 "int"
56 "hex"
57 "string"
58 ] @type.builtin
59
60 [ "(" ")" ] @punctuation.bracket
61
62 (macro_variable ["$(" ")"] @punctuation.special)
63
64 (symbol) @variable
65
66 [
67 (string)
68 (macro_content)
69 (text)
70 ] @string
71
72 (config name: (name (symbol) @constant))
73 (configdefault name: (name (symbol) @constant))
74 (menuconfig name: (name (symbol) @constant))
75 (choice name: (name (symbol) @constant))
76
77 ((symbol) @constant
78 (#match? @constant "[A-Z0-9]+"))
79
80 (mainmenu name: (string) @markup.heading)
81 (comment_entry name: (string) @markup.heading)
82 (menu name: (string) @markup.heading)
83
84 (source (string) @string.special.url @string.special)
85
86 (comment) @comment