aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-03-21 13:03:54 +0100
committerChristian Clason <christian.clason@uni-due.de>2022-04-15 18:42:53 +0200
commitade64b445946a6e185728fa49f84b479aa328528 (patch)
treea63a0f1331094cc8d9a874a48673911bcc95cadd
parentFix syntax in comment (diff)
downloadnvim-treesitter-ade64b445946a6e185728fa49f84b479aa328528.tar
nvim-treesitter-ade64b445946a6e185728fa49f84b479aa328528.tar.gz
nvim-treesitter-ade64b445946a6e185728fa49f84b479aa328528.tar.bz2
nvim-treesitter-ade64b445946a6e185728fa49f84b479aa328528.tar.lz
nvim-treesitter-ade64b445946a6e185728fa49f84b479aa328528.tar.xz
nvim-treesitter-ade64b445946a6e185728fa49f84b479aa328528.tar.zst
nvim-treesitter-ade64b445946a6e185728fa49f84b479aa328528.zip
highlights(markdown): add conceal to fenced code blocks
-rw-r--r--queries/markdown/highlights.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm
index 3a88ecedd..34b601746 100644
--- a/queries/markdown/highlights.scm
+++ b/queries/markdown/highlights.scm
@@ -72,3 +72,10 @@
(shortcut_link "[" @punctuation.delimiter)
(shortcut_link "]" @punctuation.delimiter)
+
+([
+ (info_string)
+ (fenced_code_block_delimiter)
+ (code_span_delimiter)
+ ] @_conceal
+ (#set! conceal ""))