Debian Codegraph @

runtime/queries/common-lisp/highlights.scm

raw symbols SCIP
1 (sym_lit) @variable
2
3 [
4 (accumulation_verb)
5 "thereis"
6 "always"
7 "below"
8 "into"
9 "as"
10 ] @keyword
11
12 "and" @keyword.operator
13
14 [
15 "when"
16 "if"
17 "unless"
18 "else"
19 ] @keyword.control.conditional
20
21 [
22 "for"
23 "loop"
24 "while"
25 "until"
26 "do"
27 "repeat"
28 ] @keyword.control.repeat
29
30 [
31 "in"
32 "across"
33 "being"
34 "from"
35
36 "finally"
37 "initially"
38
39 "with"
40 ] @keyword.control
41
42 "return" @keyword.control.return
43
44 (include_reader_macro) @keyword.directive
45
46 (defun_keyword) @keyword.function
47
48 (defun_header
49 function_name: (_) @function)
50
51 (defun_header
52 lambda_list: (list_lit
53 (sym_lit) @variable.parameter))
54
55 (defun_header
56 lambda_list: (list_lit
57 (list_lit
58 . (sym_lit) @variable.parameter)
59 . (_)))
60
61 "=" @operator
62
63 ; quote
64 (format_specifier) @operator
65
66 (quoting_lit "'" @operator)
67 (syn_quoting_lit "`" @operator)
68 (unquoting_lit "," @operator)
69 (unquote_splicing_lit ",@" @operator)
70
71 (var_quoting_lit
72 marker: "#'" @operator)
73
74 (list_lit
75 . (sym_lit) @operator
76 (#any-of? @operator "+" "*" "-" "=" "<" ">" "<=" ">=" "/="))
77
78 (package_lit
79 package: (_) @namespace)
80 "cl" @namespace
81
82 (str_lit) @string
83
84 (num_lit) @constant.numeric
85 ["#c" "#C"] @constant.numeric
86 [
87 (array_dimension)
88 "#0A"
89 "#0a"
90 ] @constant.numeric
91
92 (nil_lit) @constant.builtin
93 (char_lit) @constant.character
94
95 [(comment) (block_comment)] @comment
96 (dis_expr) @comment
97
98 ["(" ")"] @punctuation.bracket
99 [":" "::" "."] @punctuation.special