From 681c0a91dc36f9db1d23bd31ac1b66414d2a6099 Mon Sep 17 00:00:00 2001 From: Erasin Date: Thu, 28 Jul 2022 21:31:20 +0800 Subject: Add textobject for javascript (#3213) --- runtime/queries/typescript/textobjects.scm | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 runtime/queries/typescript/textobjects.scm (limited to 'runtime/queries/typescript') diff --git a/runtime/queries/typescript/textobjects.scm b/runtime/queries/typescript/textobjects.scm new file mode 100644 index 00000000..8564236b --- /dev/null +++ b/runtime/queries/typescript/textobjects.scm @@ -0,0 +1,8 @@ +; inherits: javascript + +[ + (interface_declaration + body:(_) @class.inside) + (type_alias_declaration + value: (_) @class.inside) +] @class.around -- cgit v1.2.3-70-g09d2