From 0b176fb0c589a517f18c746b1e5ed78255ea84c7 Mon Sep 17 00:00:00 2001 From: Chris Grieser <73286100+chrisgrieser@users.noreply.github.com> Date: Tue, 6 Feb 2024 21:36:04 +0100 Subject: [PATCH] fix: update highlights in commit selection to new TS capture groups --- lua/tinygit/shared/select-commit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/tinygit/shared/select-commit.lua b/lua/tinygit/shared/select-commit.lua index 479f646..23f572f 100644 --- a/lua/tinygit/shared/select-commit.lua +++ b/lua/tinygit/shared/select-commit.lua @@ -34,7 +34,7 @@ function M.setupAppearance() vim.api.nvim_set_hl(ns, "tinygit_selector_date", { link = "Comment" }) vim.fn.matchadd("tinygit_selector_mdInlineCode", [[`.\{-}`]]) -- .\{-} = non-greedy quantifier - vim.api.nvim_set_hl(ns, "tinygit_selector_mdInlineCode", { link = "@text.literal" }) + vim.api.nvim_set_hl(ns, "tinygit_selector_mdInlineCode", { link = "@markup.raw.markdown_inline" }) vim.fn.matchadd( "tinygit_selector_conventionalCommit",