A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/prabirshrestha/asyncomplete-neosnippet.vim below:

prabirshrestha/asyncomplete-neosnippet.vim: provides neosnippet autocomplete for asyncomplete.vim

Neosnippet source for asyncomplete.vim

Provide Neosnippet autocompletion source for asyncomplete.vim

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.

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:

imap <C-k>     <Plug>(neosnippet_expand_or_jump)
smap <C-k>     <Plug>(neosnippet_expand_or_jump)
xmap <C-k>     <Plug>(neosnippet_expand_target)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4