From 46cace42fa1a5954da9de7dded15137d3d247d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Lito=C5=A1?= <54900518+JosefLitos@users.noreply.github.com> Date: Sat, 17 Dec 2022 22:37:20 +0100 Subject: [PATCH] highlights(markdown_inline): added ')' to links --- queries/markdown_inline/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/markdown_inline/highlights.scm b/queries/markdown_inline/highlights.scm index cb50656f1..c36a378fd 100644 --- a/queries/markdown_inline/highlights.scm +++ b/queries/markdown_inline/highlights.scm @@ -32,8 +32,8 @@ ; "(" not part of query because of ; https://github.com/nvim-treesitter/nvim-treesitter/issues/2206 ; TODO: Find better fix for this -(image ["!" "[" "]" "("] @punctuation.delimiter) -(inline_link ["[" "]" "("] @punctuation.delimiter) +(image ["!" "[" "]" "(" ")"] @punctuation.delimiter) +(inline_link ["[" "]" "(" ")"] @punctuation.delimiter) (shortcut_link ["[" "]"] @punctuation.delimiter) ([