mirror of
https://github.com/laixintao/asyncomplete-gitcommit.git
synced 2025-12-16 12:00:17 +01:00
update readme
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user