diff --git a/README.md b/README.md index 87724f4..7ff6919 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,8 @@ au User asyncomplete_setup call asyncomplete#register_source({ \ 'completor': function('asyncomplete#sources#gitcommit#completor') \ }) ``` + +## TODO + +- [ ] Support close github issues and PR; +- [ ] Read commit logs diff --git a/autoload/asyncomplete/sources/gitcommit.vim b/autoload/asyncomplete/sources/gitcommit.vim index 8deefd2..7adb34f 100644 --- a/autoload/asyncomplete/sources/gitcommit.vim +++ b/autoload/asyncomplete/sources/gitcommit.vim @@ -8,7 +8,7 @@ function! asyncomplete#sources#gitcommit#completor(opt, ctx) abort let l:startcol = l:col - l:kwlen let l:matches = [ - \ "bugfix: ", "feature: ", "[WIP] ", "fixup! " + \ "bugfix:", "feature:", "[WIP]", "fixup!" \ ] call asyncomplete#complete(a:opt['name'], a:ctx, l:startcol, l:matches)