diff options
author | Erasin | 2022-07-28 13:31:20 +0000 |
---|---|---|
committer | GitHub | 2022-07-28 13:31:20 +0000 |
commit | 681c0a91dc36f9db1d23bd31ac1b66414d2a6099 (patch) | |
tree | 669807915b43ba0e6ce95ae4cdef101cb1debd1c /runtime/queries/typescript | |
parent | cca83af3fdd24f997f459d5c9bc10833f530e8dc (diff) |
Add textobject for javascript (#3213)
Diffstat (limited to 'runtime/queries/typescript')
-rw-r--r-- | runtime/queries/typescript/textobjects.scm | 8 |
1 files changed, 8 insertions, 0 deletions
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 |