From 933715dbd44e5d233812c1bd16264c6461c2afb7 Mon Sep 17 00:00:00 2001 From: Gary Miller Date: Tue, 2 Apr 2024 14:11:17 +1100 Subject: [PATCH] removed error match & change captures to match https://docs.helix-editor.com/master/themes.html\#syntax-highlighting --- runtime/queries/adl/highlights.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/runtime/queries/adl/highlights.scm b/runtime/queries/adl/highlights.scm index f862c550bacf..634244380323 100644 --- a/runtime/queries/adl/highlights.scm +++ b/runtime/queries/adl/highlights.scm @@ -14,20 +14,18 @@ (doc_comment) @info (name) @type -(ERROR) @error - (fname) @property (type_expr (scoped_name) @type) -(type_expr (scoped_name) @generic (type_param) @type.param) +(type_expr (scoped_name) @generic (type_param) @type.parameter) ; json (key) @string.special.key (string) @string -(number) @number +(number) @constant.numeric [ (null) @@ -35,5 +33,5 @@ (false) ] @constant.builtin -(escape_sequence) @escape +(escape_sequence) @constant.character.escape