From c4be3a42715dd44ea9465662ad7e3b010f6acf47 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sun, 19 Dec 2021 14:24:10 -0500 Subject: [PATCH] Markdown: add textobjects --- queries/markdown/textobjects.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 queries/markdown/textobjects.scm diff --git a/queries/markdown/textobjects.scm b/queries/markdown/textobjects.scm new file mode 100644 index 00000000..aa6a4166 --- /dev/null +++ b/queries/markdown/textobjects.scm @@ -0,0 +1,10 @@ +(atx_heading (heading_content) @class.inner) @class.outer +(setext_heading (heading_content) @class.inner) @class.outer +(thematic_break) @class.outer + +(fenced_code_block (code_fence_content) @block.inner) @block.outer + +[ + (paragraph) + (list) +] @block.outer