From ece0f70139fb9c7df96a669424ec015e47e726be Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Wed, 3 Nov 2021 11:25:14 +0000 Subject: fix(teal): highlighting for types --- queries/teal/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/teal/highlights.scm b/queries/teal/highlights.scm index 04d4306d..c12fcb53 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) -- cgit v1.2.3