bug.vim
-------------------
set nocompatible
inoremap <F5> <C-R>=ListMonths()<CR>
func! ListMonths()
call complete(col('.'), ['January', 'February', 'March',
\ 'April', 'May', 'June', 'July', 'August', 'September',
\ 'October', 'November', 'December'])
return ''
endfunc
-------------------
1. vim -u bug.vim -N
2. press F5
3. type Ctrl-L while popup menu is visible
Ctrl-L should not behave like Ctrl-P. ins_compl_key2dir() handles suffix keys
after CTRL-X. And also it handles keys while popup menu is visible (ex:
CTRL-P/CTRL-N). This should be cleanly separated.
https://gist.github.com/mattn/2c83d5a17c9e9505e43d
- Yasuhiro Matsumoto
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.