1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:40:03 +08:00

feat(git.vim): complete shortlog command

This commit is contained in:
wsdjeg 2024-02-20 12:56:07 +08:00
parent 2dc6512397
commit 4f4a001ad4

View File

@ -80,7 +80,7 @@ function! git#complete(ArgLead, CmdLine, CursorPos) abort
return join(['add', 'push', 'status', 'commit', 'diff',
\ 'merge', 'rebase', 'branch', 'checkout',
\ 'fetch', 'reset', 'log', 'config', 'reflog',
\ 'blame', 'pull', 'stash', 'cherry-pick', 'rm', 'mv', 'remote', 'clean'
\ 'blame', 'pull', 'stash', 'cherry-pick', 'rm', 'mv', 'remote', 'clean', 'shortlog'
\ ],
\ "\n")
elseif str =~# '^Git\s\+add\s\+.*$'