diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-01-13 18:34:26 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-01-14 11:52:25 +0100 |
| commit | 7e4a7c45082cf4fe5d42880827e2602cdaffc2f2 (patch) | |
| tree | 5f19d7494f74cf4ffbec66a1e7c3961bbe101729 /queries | |
| parent | feat(scss): add known at-rules to keyword list (diff) | |
| download | nvim-treesitter-7e4a7c45082cf4fe5d42880827e2602cdaffc2f2.tar nvim-treesitter-7e4a7c45082cf4fe5d42880827e2602cdaffc2f2.tar.gz nvim-treesitter-7e4a7c45082cf4fe5d42880827e2602cdaffc2f2.tar.bz2 nvim-treesitter-7e4a7c45082cf4fe5d42880827e2602cdaffc2f2.tar.lz nvim-treesitter-7e4a7c45082cf4fe5d42880827e2602cdaffc2f2.tar.xz nvim-treesitter-7e4a7c45082cf4fe5d42880827e2602cdaffc2f2.tar.zst nvim-treesitter-7e4a7c45082cf4fe5d42880827e2602cdaffc2f2.zip | |
markdown: add strikethrough and blockquote captures
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/markdown/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/markdown_inline/highlights.scm | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm index d58998043..5fc378e58 100644 --- a/queries/markdown/highlights.scm +++ b/queries/markdown/highlights.scm @@ -53,6 +53,8 @@ (task_list_marker_unchecked) @text.todo.unchecked (task_list_marker_checked) @text.todo.checked +(block_quote) @text.quote + [ (block_continuation) (block_quote_marker) diff --git a/queries/markdown_inline/highlights.scm b/queries/markdown_inline/highlights.scm index c36a378fd..9130ba06b 100644 --- a/queries/markdown_inline/highlights.scm +++ b/queries/markdown_inline/highlights.scm @@ -13,6 +13,8 @@ (strong_emphasis) @text.strong +(strikethrough) @text.strike + [ (link_destination) (uri_autolink) @@ -36,6 +38,7 @@ (inline_link ["[" "]" "(" ")"] @punctuation.delimiter) (shortcut_link ["[" "]"] @punctuation.delimiter) +; Conceal codeblock and text style markers ([ (code_span_delimiter) (emphasis_delimiter) |
