From 089a585a4103a5c31906ed48ffc521d6c2e8877a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 22 Nov 2022 10:05:37 +0100 Subject: [PATCH] Fix 'class_type' textobject --- queries/textobjects.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/queries/textobjects.scm b/queries/textobjects.scm index f8dcf02..f1a4fbd 100644 --- a/queries/textobjects.scm +++ b/queries/textobjects.scm @@ -31,8 +31,9 @@ ; Class {{{ (class_declaration fields: (_)* @class.inner) @class.outer -(class_type - fields: (_)* @class.inner) @class.outer +(type_declaration + (class_type + fields: (_)* @class.inner)) @class.outer ; }}} ; Misc {{{