Skip to content

Commit 0cc2384

Browse files
chrisgriesergithub-actions[bot]
authored andcommitted
chore: auto-generate vimdocs
1 parent 71cde37 commit 0cc2384

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

doc/nvim-tinygit.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*nvim-tinygit.txt* For Neovim Last change: 2025 December 03
1+
*nvim-tinygit.txt* For Neovim Last change: 2025 December 09
22

33
==============================================================================
44
Table 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 = {

0 commit comments

Comments
 (0)