Skip to content

Commit

Permalink
fix: update highlights in commit selection to new TS capture groups
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Feb 6, 2024
1 parent e61308f commit 0b176fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/tinygit/shared/select-commit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0b176fb

Please sign in to comment.