summaryrefslogtreecommitdiffstats
path: root/queries/markdown
diff options
context:
space:
mode:
authorMDeiml <matthias@deiml.net>2021-12-17 12:42:17 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-05 23:38:28 +0100
commit8ada8faf2fd5a74cc73090ec856fa88f34cd364b (patch)
tree50d29c70d5f4c4b6f90109cf4880c5191ba7619a /queries/markdown
parentfix(haskell): Haskell switched to C scanner (diff)
downloadnvim-treesitter-8ada8faf2fd5a74cc73090ec856fa88f34cd364b.tar
nvim-treesitter-8ada8faf2fd5a74cc73090ec856fa88f34cd364b.tar.gz
nvim-treesitter-8ada8faf2fd5a74cc73090ec856fa88f34cd364b.tar.bz2
nvim-treesitter-8ada8faf2fd5a74cc73090ec856fa88f34cd364b.tar.lz
nvim-treesitter-8ada8faf2fd5a74cc73090ec856fa88f34cd364b.tar.xz
nvim-treesitter-8ada8faf2fd5a74cc73090ec856fa88f34cd364b.tar.zst
nvim-treesitter-8ada8faf2fd5a74cc73090ec856fa88f34cd364b.zip
Be more accurate about code block language
Diffstat (limited to 'queries/markdown')
-rw-r--r--queries/markdown/injections.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/markdown/injections.scm b/queries/markdown/injections.scm
index f27248330..2c1df01c8 100644
--- a/queries/markdown/injections.scm
+++ b/queries/markdown/injections.scm
@@ -1,5 +1,6 @@
(fenced_code_block
- (info_string) @language
+ (info_string
+ (language) @language)
(code_fence_content) @content)
((html_block) @html)