-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Some of the snippets shown by asyncomplete-neosnippet.vim in the popup menu cannot be expanded.
This is the screencast for explanation:

In this screencast, I typed a dot, and asyncomplete-neosnippet.vim opened the popup menu.
I typed <C-k> to expand selected snippets, but the snippets did not be expanded.
This is the vimrc used in the above screencast:
language C
if !filereadable('plug.vim')
silent !curl --insecure -fLo plug.vim
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
source plug.vim
call plug#begin('plugged')
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-neosnippet.vim'
call plug#end()
call asyncomplete#register_source(asyncomplete#sources#neosnippet#get_source_options({
\ 'name': 'neosnippet',
\ 'whitelist': ['*'],
\ 'completor': function('asyncomplete#sources#neosnippet#completor'),
\ }))
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)The way to reporoduce:
- execute
vim.exe -u vimrc -N - type a dot
. - select an item by
<C-n> - execute
<Plug>(nesonippet_expand_or_jump)by<C-k> - (the issue occurs; some items will not be expanded)
Environment:
umiyosh
Metadata
Metadata
Assignees
Labels
No labels