From 68b35a7537326d5b21bb61c7cf5d981d425d2f5f Mon Sep 17 00:00:00 2001 From: laixintao Date: Mon, 2 Dec 2019 14:54:25 +0800 Subject: [PATCH] update readme --- README.md | 5 +++++ autoload/asyncomplete/sources/gitcommit.vim | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)