aboutsummaryrefslogtreecommitdiffstats
path: root/queries/markdown
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-03-26 08:19:51 -0700
committerGitHub <noreply@github.com>2024-03-26 17:19:51 +0200
commit7f3179315959bd762abd0f8dbe0361db805fb2d4 (patch)
tree44c68d3219ad122e0ec98deafa823bc85fa76b44 /queries/markdown
parentbot(lockfile): update djot, dtd, hyprlang, perl, tlaplus, v, wing, xml (diff)
downloadnvim-treesitter-7f3179315959bd762abd0f8dbe0361db805fb2d4.tar
nvim-treesitter-7f3179315959bd762abd0f8dbe0361db805fb2d4.tar.gz
nvim-treesitter-7f3179315959bd762abd0f8dbe0361db805fb2d4.tar.bz2
nvim-treesitter-7f3179315959bd762abd0f8dbe0361db805fb2d4.tar.lz
nvim-treesitter-7f3179315959bd762abd0f8dbe0361db805fb2d4.tar.xz
nvim-treesitter-7f3179315959bd762abd0f8dbe0361db805fb2d4.tar.zst
nvim-treesitter-7f3179315959bd762abd0f8dbe0361db805fb2d4.zip
feat(markdown): yaml, toml metadata highlights (#6360)
Diffstat (limited to 'queries/markdown')
-rw-r--r--queries/markdown/highlights.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm
index ac582e3f9..4b445e02f 100644
--- a/queries/markdown/highlights.scm
+++ b/queries/markdown/highlights.scm
@@ -111,6 +111,12 @@
((block_quote) @markup.quote
(#set! "priority" 90))
+([
+ (plus_metadata)
+ (minus_metadata)
+] @keyword.directive
+ (#set! "priority" 90))
+
[
(block_continuation)
(block_quote_marker)