Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prabirshrestha/asyncomplete-neosnippet.vim
provides neosnippet autocomplete for asyncomplete.vim
https://github.com/prabirshrestha/asyncomplete-neosnippet.vim
asyncomplete code-completion neosnippet neovim vim
Last synced: about 1 month ago
JSON representation
provides neosnippet autocomplete for asyncomplete.vim
- Host: GitHub
- URL: https://github.com/prabirshrestha/asyncomplete-neosnippet.vim
- Owner: prabirshrestha
- Created: 2017-02-11T06:37:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-16T22:33:40.000Z (over 2 years ago)
- Last Synced: 2024-10-06T15:02:20.742Z (about 1 month ago)
- Topics: asyncomplete, code-completion, neosnippet, neovim, vim
- Language: Vim script
- Size: 5.86 KB
- Stars: 11
- Watchers: 5
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Neosnippet source for asyncomplete.vim
======================================Provide [Neosnippet](https://github.com/Shougo/neosnippet.vim) autocompletion source for [asyncomplete.vim](https://github.com/prabirshrestha/asyncomplete.vim)
### Installing
```viml
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
Plug 'prabirshrestha/asyncomplete-neosnippet.vim'
````Shougo/neosnippet-snippets` is optional. Please refer to neosnippet documentation on how to corretly configure neosnippet.
#### Registration
```vim
call asyncomplete#register_source(asyncomplete#sources#neosnippet#get_source_options({
\ 'name': 'neosnippet',
\ 'allowlist': ['*'],
\ 'completor': function('asyncomplete#sources#neosnippet#completor'),
\ }))
```To setup the snippet trigger refer to the neosnippet documentation. Here is an example:
```vim
imap (neosnippet_expand_or_jump)
smap (neosnippet_expand_or_jump)
xmap (neosnippet_expand_target)
```