mirror of
https://github.com/laixintao/asyncomplete-gitcommit.git
synced 2025-12-16 12:00:17 +01:00
add readme
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# asyncomplete-gitcommit
|
||||
|
||||
Git commit message completion source for [asyncomplete.vim](https://github.com/prabirshrestha/asyncomplete.vim)
|
||||
|
||||
## Installing
|
||||
|
||||
```vim
|
||||
Plug 'prabirshrestha/asyncomplete.vim'
|
||||
Plug 'laixintao/asyncomplete-gitcommit'
|
||||
```
|
||||
|
||||
## Register asyncomplete-gitcommit
|
||||
|
||||
```vim
|
||||
au User asyncomplete_setup call asyncomplete#register_source({
|
||||
\ 'name': 'gitcommit',
|
||||
\ 'whitelist': ['gitcommit'],
|
||||
\ 'priority': 10,
|
||||
\ 'completor': function('asyncomplete#sources#gitcommit#completor')
|
||||
\ })
|
||||
```
|
||||
Reference in New Issue
Block a user