Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple dictionaries #327

Closed
jdeut opened this issue Dec 9, 2014 · 3 comments
Closed

Multiple dictionaries #327

jdeut opened this issue Dec 9, 2014 · 3 comments

Comments

@jdeut
Copy link

jdeut commented Dec 9, 2014

Dear Shougo,

first of all thank you for all the work you put into neocomplete.

I have problems with the completion sourced from dictionaries that i set via

setlocal dictionary+=~/.vim/dictionaries/c/goffice,~/.vim/dictionaries/c/gtk

After i invoke NeoCompleteDictionaryMakeCache neocomplete only lists entries from the first file ~/.vim/dictionaries/c/goffice in the dictionary list.

If i then remove the first file in the list with

setlocal dictionary-=~/.vim/dictionaries/c/goffice

and invoke NeoCompleteDictionaryMakeCache again the completion popup lists entries from ~/.vim/dictionaries/c/gtk.

Instead i would like neocomplete to list entries from ~/.vim/dictionaries/c/goffice as well as ~/.vim/dictionaries/c/gtk on completion.

I would be grateful if anybody help me to solve this...

@Shougo
Copy link
Owner

Shougo commented Dec 10, 2014

I cannot reproduce the problem.
Please upload minimal .vimrc and reproduce ways from Vim starting.

#236

@kealthou
Copy link

I will give you a minimal example.

Minimal vimrc less than 50 lines

set runtimepath+=~/.vim/bundle/neocomplete.vim/
set fo+=aw
let g:neocomplete#enable_at_startup = 1
let g:neocomplete#enable_auto_select = 0
set tw=10 " just for testing purposes
let g:neocomplete#sources#dictionary#dictionaries = {
\ '_': "~/a.dict,~/b.dict"
\ }

~/a.dict

aaaaa_from_a

~/b.dict

aaaaa_from_b

Reproducable ways from Vim starting

  1. enter vim
  2. type aaa

@Shougo Shougo closed this as completed in 825ab03 Dec 22, 2014
@Shougo
Copy link
Owner

Shougo commented Dec 22, 2014

Thanks. Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants