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

g:neocomplcache_same_filetype_lists is not defined #367

Closed twmht closed 11 years ago

twmht commented 11 years ago

hi,

I was editing test.sql file

use library;
select * from ''my cursor is here''users;

I move my cursor before "users;" and push <enter>

to produce

use library;
select * from 
users;

but errors occured.

error occurs from
function neocomplcache#sources#snippets_complete#expandable..neosnippet#expandable..
neosnippet#get_snippets..<SNR>85_get_sources_filetypes..neocomplcache#get_source_filetype
s
variable g:neocomplcache_same_filetype_lists is not defined.
....
...
...

I skipped the errors and keep typing when I want to reproduced the errors; However, the errors does not appear again.

How come this happened?

Thanks:)

Shougo commented 11 years ago

I fixed it.