diff options
author | Teddy Wing | 2017-05-10 21:06:38 +0200 |
---|---|---|
committer | Teddy Wing | 2017-05-10 21:06:38 +0200 |
commit | 0bbf4337a6b7c6b0fc0d216a02897b5c45ebc36b (patch) | |
tree | d64fbbe9ea49b8ea5b60d8823d5913b1ffcfcdd0 /ftplugin/gitcommit | |
parent | 5eca0d8f26acf29edbcc2376f6a8cd7a9d928a2f (diff) | |
parent | 69a382bf1d6cd4645dfb4408f757368b069694fc (diff) | |
download | vim-gitcha-0bbf4337a6b7c6b0fc0d216a02897b5c45ebc36b.tar.bz2 |
Merge branch 'completeopt-menuone'
Diffstat (limited to 'ftplugin/gitcommit')
-rw-r--r-- | ftplugin/gitcommit/gitcha.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/gitcommit/gitcha.vim b/ftplugin/gitcommit/gitcha.vim index 19f4a0b..c81cf26 100644 --- a/ftplugin/gitcommit/gitcha.vim +++ b/ftplugin/gitcommit/gitcha.vim @@ -12,6 +12,6 @@ if !hasmapto('<Plug>GitchaCompleteSHA') imap <buffer> <C-x><C-s> <Plug>GitchaCompleteSHA endif -inoremap <buffer> <expr> <Plug>GitchaCompleteSHA gitcha#StartGitSHACompletion() +inoremap <buffer> <Plug>GitchaCompleteSHA <C-r>=gitcha#GitSHAComplete()<CR> let b:undo_ftplugin = 'iunmap <buffer> <C-x><C-s>' |