aboutsummaryrefslogtreecommitdiffstats
path: root/queries/markdown
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-11-23 21:00:08 +0100
committerThomas Vigouroux <tomvig38@gmail.com>2020-11-23 21:08:09 +0100
commit90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3 (patch)
tree11dab42fd5ff8b96d4ce1eba55eb94aad29523d1 /queries/markdown
parentfix: make version check work on non-CI environments (diff)
downloadnvim-treesitter-90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3.tar
nvim-treesitter-90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3.tar.gz
nvim-treesitter-90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3.tar.bz2
nvim-treesitter-90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3.tar.lz
nvim-treesitter-90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3.tar.xz
nvim-treesitter-90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3.tar.zst
nvim-treesitter-90d6ef96d2930b8efe2ece2c231b31df6c3ff7c3.zip
fix(injections): update to new API
Diffstat (limited to 'queries/markdown')
-rw-r--r--queries/markdown/injections.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/queries/markdown/injections.scm b/queries/markdown/injections.scm
index 0522dee2c..42328ad24 100644
--- a/queries/markdown/injections.scm
+++ b/queries/markdown/injections.scm
@@ -1,6 +1,5 @@
(fenced_code_block
- (info_string) @lang
- (code_fence_content) @injection)
+ (info_string) @language
+ (code_fence_content) @content)
-((html_block) @injection
- (#set! "lang" "html"))
+((html_block) @html)