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

dictionary complete #409

Closed kdurant closed 10 years ago

kdurant commented 11 years ago

How to set up to make the dictionary complete does not rely on specific syntax files, but all open buffers can use a dictionary file

Shougo commented 11 years ago

You can set 'dictionary' option.

but all open buffers can use a dictionary file

No. neocomplcache does not recognize global dictionary option. Because, if you set big dictionary in dictionary option, Vim's performance will make slow.

Shougo commented 11 years ago

I added g:neocomplcache_dictionary_filetype_lists feature in ver.8.1 branch. If the key is "_", the dictionary will load in globally.

kdurant commented 11 years ago

I only wait now! But ver8.1 needs lua. The default version does not support the lua, this is a problem.

UncleBill commented 11 years ago

What about multi-dict, like

'javascript' : [$DICTDIR . 'javascript.dict',$DICTDIR . 'node.dict'],
Shougo commented 10 years ago

neocomplcache is not supported now.