maralla/completor.vim

Completor freaking out after update

Closed this issue · 8 comments

Today I updated my vim plugins and completor started freaking out, whenever I start typing and the completor popup triggers, it deletes everything I typed and show the completion popup.

completor-weirdness

My vim:
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug 7 2018 21:58:18)
macOS version
Included patches: 1-250

Completor:
On master -> 3461d62
I'm also using completor-typescript
Options:

let g:completor_node_binary = '/usr/local/bin/node'
let g:completor_css_omni_trigger = '([\w-]+|@[\w-]*|[\w-]+:\s*[\w-]*)$'
let g:completor_auto_trigger = 1

Previously this didn't happen and completor worked fine.

After further testings seems like it might be related to 'jedi-vim'

I was able to reproduce this with these plugins:

Plug 'leafgarland/typescript-vim'
Plug 'peitalin/vim-jsx-typescript'
Plug 'maralla/completor.vim', { 'do': 'make js' }
Plug 'maralla/completor-typescript'
Plug 'davidhalter/jedi-vim'

Disabling jedi-vim seems to have fixed it.

I have the same problem with my two device vim completor.
I rest to old version d404cea to let it work.
I am waiting for you to fix the bug, Thanks

What is the result of :echo g:completor_complete_options and :echo &cot?

g:completor_complete_options - menuone,noselect,preview
&cot - menuone,longest,preview

The commit ab49c67 fixed the problem please update.

Thanks, that seems to work!

Looks like this behavior has regressed recently. Able to reproduce on 09ff214. Doesn't repro with 9d1b13e.

The commit cea1fd6 fix the problem. @codito

It's working great now. Thanks for quick response!