aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFolke Lemaitre <folke.lemaitre@gmail.com>2022-10-29 16:11:44 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-10-30 11:38:42 +0100
commita2ff4b42e1d446738bf260b245208005fb555d6d (patch)
tree95c12e5f6064756ffe0b23293fd76f8b9792f1a3
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-a2ff4b42e1d446738bf260b245208005fb555d6d.tar
nvim-treesitter-a2ff4b42e1d446738bf260b245208005fb555d6d.tar.gz
nvim-treesitter-a2ff4b42e1d446738bf260b245208005fb555d6d.tar.bz2
nvim-treesitter-a2ff4b42e1d446738bf260b245208005fb555d6d.tar.lz
nvim-treesitter-a2ff4b42e1d446738bf260b245208005fb555d6d.tar.xz
nvim-treesitter-a2ff4b42e1d446738bf260b245208005fb555d6d.tar.zst
nvim-treesitter-a2ff4b42e1d446738bf260b245208005fb555d6d.zip
feat: conceal backslash escape
-rw-r--r--queries/markdown/highlights.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/queries/markdown/highlights.scm b/queries/markdown/highlights.scm
index 70c35b395..81cb5a5b1 100644
--- a/queries/markdown/highlights.scm
+++ b/queries/markdown/highlights.scm
@@ -20,11 +20,10 @@
] @text.literal
(pipe_table_header (pipe_table_cell) @text.title)
-[
- (pipe_table_row)
- (pipe_table_delimiter_row)
- (pipe_table_header)
-] "|" @punctuation.special
+
+(pipe_table_header "|" @punctuation.special)
+(pipe_table_row "|" @punctuation.special)
+(pipe_table_delimiter_row "|" @punctuation.special)
(pipe_table_delimiter_cell) @punctuation.special
[