lifepillar / vim-mucomplete

Chained completion that works the way you want!
MIT License
913 stars 18 forks source link

Error detected while processing autoload/mucomplete.vim #2

Closed sunaku closed 8 years ago

sunaku commented 8 years ago

With this line in my vimrc:

let g:mucomplete#enable_auto_at_startup = 1

I get this error at NeoVim 0.1.5 startup:

Error detected while processing autoload/mucomplete.vim:
line   40:
E15: Invalid expression: > 1 } " Try always
E15: Invalid expression: { _ -> 1 } " Try always
line   51:
E15: Invalid expression: > strlen(&l:dictionary) > 0 },     'file':  { t -> t =~# '/' },     'omni':  { t -> strlen(&l:omnifunc) > 0 },     'spel':  { t -> &l:spell },     'tags':  { t -> !empty(tagfiles()) },     'thes':  { t -> strlen(&l:thesaurus) > 0 },     'user':  { t -> strlen(&l:completefunc) > 0 }   }, get(get(g:, 'mucomplete#can_complete', {}), 'default', {})) }, get(g:, 'mucomplete#can_complete', {}), 'keep')
E116: Invalid arguments for function extend({     'dict':  { t -> strlen(&l:dictionary) > 0 },     'file':  { t -> t =~# '/' },     'omni':  { t -> strlen(&l:omnifunc) > 0 },     'spel':  { t -> &l:spell },     'tags':  { t -> !empty(tagfiles()) },     'thes':  { t -> strlen(&l:thesaurus) > 0 },     'user':  { t -> strlen(&l:completefunc) > 0 }   }, get(get(g:, 'mucomplete#can_complete', {}), 'default', {})) }, get(g:, 'mucomplete#can_complete', {}), 'keep')
E116: Invalid arguments for function extend({ 'default' : extend({     'dict':  { t -> strlen(&l:dictionary) > 0 },     'file':  { t -> t =~# '/' },     'omni':  { t -> strlen(&l:omnifunc) > 0 },     'spel':  { t -> &l:spell },     'tags':  { t -> !empty(tagfiles()) },     'thes':  { t -> strlen(&l:thesaurus) > 0 },  'user':  { t -> strlen(&l:completefunc) > 0 }   }, get(get(g:, 'mucomplete#can_complete', {}), 'default', {})) }, get(g:, 'mucomplete#can_complete', {}), 'keep')
E15: Invalid expression: extend({ 'default' : extend({     'dict':  { t -> strlen(&l:dictionary) > 0 },     'file':  { t -> t =~# '/' },     'omni':  { t -> strlen(&l:omnifunc) > 0 },     'spel':  { t -> &l:spell },     'tags':  { t -> !empty(tagfiles()) },     'thes':  { t -> strlen(&l:thesaurus) > 0 },     'user':  { t -> strlen(&l:completefunc) > 0 }   }, get(get(g:, 'mucomplete#can_complete', {}), 'default', {})) }, get(g:, 'mucomplete#can_complete', {}), 'keep')
Press ENTER or type command to continue
lifepillar commented 8 years ago

Closed as duplicate of #1.