aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/markdown
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-05-13 11:23:50 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-05-13 16:50:32 +0200
commit680807fa6a482c639119098bc48ca3831c66db13 (patch)
treeaf757491af328fa87221a692b832ee5cf545b7e7 /tests/query/highlights/markdown
parentUpdate parsers: bicep, c_sharp, cpon, func, gosum, hare, kdl, lua, luadoc, lu... (diff)
downloadnvim-treesitter-680807fa6a482c639119098bc48ca3831c66db13.tar
nvim-treesitter-680807fa6a482c639119098bc48ca3831c66db13.tar.gz
nvim-treesitter-680807fa6a482c639119098bc48ca3831c66db13.tar.bz2
nvim-treesitter-680807fa6a482c639119098bc48ca3831c66db13.tar.lz
nvim-treesitter-680807fa6a482c639119098bc48ca3831c66db13.tar.xz
nvim-treesitter-680807fa6a482c639119098bc48ca3831c66db13.tar.zst
nvim-treesitter-680807fa6a482c639119098bc48ca3831c66db13.zip
highlights(markup): distinguish heading level in queries
also add a few queries from Helix and remove controversial code block conceal in Markdown
Diffstat (limited to 'tests/query/highlights/markdown')
-rw-r--r--tests/query/highlights/markdown/test.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/query/highlights/markdown/test.md b/tests/query/highlights/markdown/test.md
index 9423d3e85..2d3734515 100644
--- a/tests/query/highlights/markdown/test.md
+++ b/tests/query/highlights/markdown/test.md
@@ -1,8 +1,8 @@
# H1
-<!-- <- punctuation.special -->
+<!-- <- text.title.1.marker -->
## H2
-<!-- <- punctuation.special -->
+<!-- <- text.title.2.marker -->
- Item 1
- Item 2
@@ -16,13 +16,13 @@
<!-- ^ text.reference -->
<!-- ^ text.uri -->
<!-- ^ text.literal -->
-<!--^ punctuation.delimiter -->
-<!-- ^ punctuation.delimiter -->
-<!-- //TODO: currently disabled punctuation.delimiter -->
+<!--^ punctuation.special -->
+<!-- ^ punctuation.bracket -->
+<!-- ^ punctuation.bracket -->
[link_text](#local_reference "link go brr...")
<!-- ^ text.reference -->
<!-- ^ text.uri -->
<!-- ^ text.literal -->
-<!-- <- punctuation.delimiter -->
-<!-- //TODO: currently disabled punctuation.delimiter -->
+<!-- <- punctuation.bracket -->
+<!-- ^ punctuation.bracket -->