Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 135 forks source link

Completing email addresses #488

Closed imain closed 9 years ago

imain commented 10 years ago

I'm working on notmuch-vim https://github.com/imain/notmuch-vim which is an email client frontend in vim. I love and use most of your plugins! I'm trying to figure out how to get neocomplcache to complete full email addresses. Right now I have them one per line with usernames etc. but it only wants to complete portions of each name etc. How do I get it to read a whole line for completion?

eg

Tom Smith tsmith@fooblegoo.com Bob Smith bsmith@spumplespree.com

If another format would work that's fine just trying to get this working!

Thanks!

Shougo commented 10 years ago

Well, to complete email address, you can select two ways.

1: Create neocomplcache source or new omni function.

2: Change g:neocomplcache_keyword_patterns.