Debian Codegraph @

runtime/queries/haskell-persistent/highlights.scm

raw symbols SCIP
1 ;; ----------------------------------------------------------------------------
2 ;; Literals and comments
3
4 (integer) @constant.numeric.integer
5 (float) @constant.numeric.float
6 (char) @constant.character
7 (string) @string
8 (attribute_name) @attribute
9 (attribute_exclamation_mark) @attribute
10
11 (con_unit) @constant.builtin ; unit, as in ()
12
13 (comment) @comment
14
15 ;; ----------------------------------------------------------------------------
16 ;; Keywords, operators, includes
17
18 [
19 "Id"
20 "Primary"
21 "Foreign"
22 "deriving"
23 ] @keyword
24
25 "=" @operator
26
27 ;; ----------------------------------------------------------------------------
28 ;; Functions and variables
29
30 (variable) @variable
31
32 ;; ----------------------------------------------------------------------------
33 ;; Types
34
35 (type) @type
36
37 (constructor) @constructor