We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db684b4 commit 791a2b8Copy full SHA for 791a2b8
2 files changed
.tsqueryrc.json
@@ -77,6 +77,7 @@
77
"type.builtin": "Captures built-in types",
78
"type.interface": "Captures interface types",
79
"type.module": "Captures modules",
80
+ "type.module.struct": "Captures structs",
81
"type.spec": "Captures typespecs",
82
"type.super": "Captures superclass types",
83
"variable": "Captures variables",
languages/elixir/highlights.scm
@@ -70,6 +70,14 @@
70
(quoted_atom)
71
] @type.module))
72
73
+; Structs
74
+(struct
75
+ [
76
+ (alias)
+ (atom)
+ (quoted_atom)
+ ] @type.module.struct)
+
; Regular identifiers
(identifier) @variable
0 commit comments