Skip to content

Commit

Permalink
chore: Auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored and github-actions[bot] committed Sep 20, 2023
1 parent ce21b46 commit 894317b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions doc/tinygit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,24 +87,27 @@ USAGE *tinygit-nvim-tinygit--usage*

CONFIGURATION *tinygit-nvim-tinygit--configuration*

The `setup` call is optional. These are the default settings:

>lua
local defaultConfig = {
-- Why 72-50? see https://stackoverflow.com/q/2290016/22114136
-- Why 50/72 is recommended: https://stackoverflow.com/q/2290016/22114136
commitMaxLen = 72,
smallCommitMaxLen = 50,

-- when conforming the commit message popup with an empty message,
-- fill in this message. (Set to `false` to disallow empty commit messages.)
-- When conforming the commit message popup with an empty message, fill in this message.
-- Set to `false` to disallow empty commit messages.
emptyCommitMsgFillIn = "squash", -- string|false

-- deny commit messages without a conventinal commit keyword
-- disallow commit messages without a conventinal commit keyword
enforceConvCommits = {
enabled = true,
keywords = {
"chore", "build", "test", "fix", "feat", "refactor", "perf",
"style", "revert", "ci", "docs", "break", "improv",
},
},

-- icons for the issue/PR search
issueIcons = {
closedIssue = "🟣",
Expand All @@ -114,7 +117,7 @@ CONFIGURATION *tinygit-nvim-tinygit--configuration*
closedPR = "🟥",
},

-- confirmation sounds on finished async operations (like push)
-- confirmation sounds on finished async operations like push
confirmationSoundsOnMacOs = true,
}
<
Expand Down

0 comments on commit 894317b

Please sign in to comment.