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

Dictionaries #455

Closed hoagy-davis-digges closed 11 years ago

hoagy-davis-digges commented 11 years ago

I'm sure this is rather obvious, but I'm new to Vim so please bear with me.

How do I add a dictionary so that it appears automatically like it would if I pressed ?

Also how do I do that for a single session?

Shougo commented 11 years ago

To add dictionaries, you must change dictionary option or g:neocomplcache_dictionary_filetype_lists.

hoagy-davis-digges commented 11 years ago

Is there a command that allows me to do this on the fly, rather than by editing the .vimrc?

Basically I want to use a wordpress dictionary for some of my PHP files, but not all of them, so I would like to be able to activate it occasionally.

Shougo commented 11 years ago

Is there a command that allows me to do this on the fly, rather than by editing the .vimrc?

No. But you can write it.