Skip to content

Commit

Permalink
Markdown: add textobjects
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd authored and theHamsta committed Dec 19, 2021
1 parent 9516c7d commit c4be3a4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions queries/markdown/textobjects.scm
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c4be3a4

Please sign in to comment.