plugins.gitmessenger.enable

Whether to enable gitmessenger.

Type: boolean

Default: false

Example: true

Declared by:

plugins.gitmessenger.package

Which package to use for the git-messenger plugin.

Type: package

Default: <derivation vimplugin-git-messenger.vim-2022-08-30>

Declared by:

plugins.gitmessenger.alwaysIntoPopup

When this value is set to v:true, the cursor goes into a popup window when running :GitMessenger or <Plug>(git-messenger).

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.gitmessenger.closeOnCursorMoved

A popup window is no longer closed automatically when moving a cursor after the window is shown up.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.gitmessenger.concealWordDiffMarker

When this value is set to v:true, markers for word diffs like [-, -], {+, +} are concealed. Set false when you don’t want to hide them.

Note: Word diff is enabled by typing “r” in a popup window.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.gitmessenger.dateFormat

String value to format dates in popup window. Please see :help strftime() to know the details of the format.

Plugin default: "%c"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.gitmessenger.extraBlameArgs

When this variable is set the contents will be appended to the git blame command. Use it to add options (like -w).

Plugin default: ""

Type: null or string or raw lua code

Default: null

Declared by:

plugins.gitmessenger.floatingWinOps

Options passed to nvim_open_win() on opening a popup window. This is useful when you want to override some window options.

Plugin default: {}

Type: null or (attribute set of anything)

Default: null

Declared by:

plugins.gitmessenger.gitCommand

git command to retrieve commit messages.

Plugin default: "git"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.gitmessenger.includeDiff

When this value is not set to “none”, a popup window includes diff hunks of the commit at showing up. “current” includes diff hunks of only current file in the commit. “all” includes all diff hunks in the commit.

Please note that typing d/D or r/R in popup window toggle showing diff hunks even if this value is set to “none”.

Plugin default: "none"

Type: null or one of “none”, “current”, “all” or raw lua code

Default: null

Declared by:

plugins.gitmessenger.intoPopupAfterShow

When this value is set to v:false, running :GitMessenger or <plug>(git-messenger) again after showing a popup does not move the cursor in the window.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.gitmessenger.maxPopupHeight

Max lines of popup window in an integer value. Setting null means no limit.

Type: null or signed integer

Default: null

Declared by:

plugins.gitmessenger.maxPopupWidth

Max characters of popup window in an integer value. Setting null means no limit.

Type: null or signed integer

Default: null

Declared by:

plugins.gitmessenger.noDefaultMappings

When this value is set, it does not define any key mappings

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.gitmessenger.popupContentMargins

Setting true means adding margins in popup window. Blank lines at the top and bottom of popup content are inserted. And every line is indented with one whitespace character. Setting false to this variable removes all the margins.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.gitmessenger.previewMods

This variable is effective only when opening preview window (on Neovim (0.3.0 or earlier) or Vim).

Command modifiers for opening preview window. The value will be passed as prefix of :pedit command. For example, setting “botright” to the variable opens a preview window at bottom of the current window. Please see :help <mods> for more details.

Plugin default: ""

Type: null or string or raw lua code

Default: null

Declared by: