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 {{{