aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/gitcommit/gitcha.vim
diff options
context:
space:
mode:
authorTeddy Wing2017-04-28 01:14:39 +0200
committerTeddy Wing2017-04-28 01:14:39 +0200
commit08dd78c72a5935fd1aa458c28c2b045a2e4aab39 (patch)
tree0d9f2b36ebe8ec176f95ff747bb3f39c1f0aeac3 /ftplugin/gitcommit/gitcha.vim
parent41b7976991b46915ad5cd6b8a25aa92ea5334db0 (diff)
downloadvim-gitcha-08dd78c72a5935fd1aa458c28c2b045a2e4aab39.tar.bz2
ftplugin/gitcommit.vim: Restore user completion function
Make our custom mapping work while retaining any user-defined `completefunc`. Doing it this way enables us to get away without having to set a hacky `CursorMovedI` unsetting autocommand as imagined in e70d92c495001c0af0037b9fadbeec170d2c318f. We clutter our `GitSHAComplete` completion function a bit with functionality that doesn't really belong to it in order to get a win for simple implementation of the `completefunc` restore feature.
Diffstat (limited to 'ftplugin/gitcommit/gitcha.vim')
0 files changed, 0 insertions, 0 deletions