For example, for any file that ends in .foo, I would like the following behavior in vim:
- if the user types
i., I want vim's autocomplete to provide the listdogs, cats, mice - if the user types
i.dogs., I want vim's autocomplete to provide the listpoodle,dachshund,pitbull
fwiw, I need to use this functionality in a customized language for easy typing/learning.