diff options
| -rw-r--r-- | queries/teal/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/teal/highlights.scm b/queries/teal/highlights.scm index 04d4306db..c12fcb53d 100644 --- a/queries/teal/highlights.scm +++ b/queries/teal/highlights.scm @@ -91,8 +91,8 @@ (type_declaration "type" @keyword) (type_declaration (identifier) @type) -(simple_type) @type -(type_index) @type +(simple_type name: (identifier) @type) +(type_index (identifier) @type) (type_union "|" @operator) (function_type "function" @type) |
