File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- *nvim-tinygit.txt* For Neovim Last change: 2025 December 03
1+ *nvim-tinygit.txt* For Neovim Last change: 2025 December 09
22
33==============================================================================
44Table of Contents *nvim-tinygit-table-of-contents*
@@ -129,13 +129,14 @@ The `setup` call is optional.
129129 normal = { abort = "q", confirm = "<CR> " },
130130 insert = { confirm = "<C-CR> " },
131131 },
132+ keymapHints = true,
132133 preview = {
133134 loglines = 3,
134135 },
135136 subject = {
136137 -- automatically apply formatting to the subject line
137138 autoFormat = function(subject) ---@type nil|fun(subject: string): string
138- subject = subject:gsub("%.$", "") -- remove trailing dot https://commitlint.js.org/reference/rules.html#body-full-stop
139+ subject = subject:gsub("%.$", "") -- remove trailing dot
139140 return subject
140141 end,
141142
@@ -150,7 +151,6 @@ The `setup` call is optional.
150151 body = {
151152 enforce = false,
152153 },
153- keymapHints = true,
154154 },
155155 push = {
156156 preventPushingFixupCommits = true,
@@ -185,6 +185,10 @@ The `setup` call is optional.
185185 enabled = true,
186186 blend = 40, -- 0-100
187187 },
188+ hlGroups = {
189+ addedText = "Added", -- i.e. use hlgroup `Added`
190+ removedText = "Removed",
191+ },
188192 },
189193 statusline = {
190194 blame = {
You can’t perform that action at this time.
0 commit comments