Skip to content

Commit

Permalink
feat: exempt markdown headings from ]] [[ ts textobjects jumps
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Nov 21, 2023
1 parent edc972e commit c80622d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions queries/markdown/textobjects.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
; (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 c80622d

Please sign in to comment.