roxma / nvim-completion-manager

:warning: PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
MIT License
917 stars 49 forks source link

Conflicts with terryma/vim-multiple-cursors #18

Closed santiagodoldan closed 7 years ago

santiagodoldan commented 7 years ago

afugzdgisi

roxma commented 7 years ago

this may help: https://github.com/terryma/vim-multiple-cursors#multiple_cursors_beforemultiple_cursors_after-default-nothing

function! Multiple_cursors_before()
  call cm#disable_for_buffer()
endfunction

function! Multiple_cursors_after()
    call cm#enable_for_buffer()
endfunction
santiagodoldan commented 7 years ago

Fixed đź‘Ť I just noticed you are the owner of both plugins haha, thanks again

roxma commented 7 years ago

Just an update, with newest version of vim-multiple-cursors and NCM, it should work without manually tweak the vimrc.

see https://github.com/terryma/vim-multiple-cursors/pull/219

@santiagodoldan @jkunlin @partounian

partounian commented 7 years ago

@roxma Thanks for the update! You are one of my favorite devs. Your work is always amazing and straightforward.

balta2ar commented 7 years ago

@Shougo Could you please support the same automatic integration in deoplete?

partounian commented 7 years ago

@balta2ar if I could make a suggestion. You should definitely try using neovim-completion-manager and roxma's other plugins over​ deoplete. I switched and it is much better.

balta2ar commented 7 years ago

@partounian Thank you for the suggestion! Could you please add some more details about what exactly was wrong and what got better after the switch?

partounian commented 7 years ago

The setup with deoplete and other things were pretty complicated. I also didn't get results useful enough to actually use autocompletion. After using roxma's plugin stack it just feels like it's pretty useful and just works out of box perfectly. It's also very snappy, never had a second of lag.

balta2ar commented 7 years ago

@partounian Do you mean deoplete's ranking is suboptimal? For what languages are you using autocompletion? As for me, I just added deoplete and deoplete-jedi source and they worked out of the box for Python. Didn't have to set up anything.

partounian commented 7 years ago

Yes Jedi was easy, but with ncm we get easy PHP autocompletion if you have to work with that. Also having to configure deoplete with SuperTab/YouCompleteMe and Ultisnips was not fun. Thought, ncm and neosnippet work pretty smoothly.

On Wed, May 3, 2017, 8:47 AM Yuri Bochkarev notifications@github.com wrote:

@partounian https://github.com/partounian Do you mean deoplete's ranking is suboptimal? For what languages are you using autocompletion? As for me, I just added deoplete and deoplete-jedi source and they worked out of the box for Python. Didn't have to set up anything.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/roxma/nvim-completion-manager/issues/18#issuecomment-298951914, or mute the thread https://github.com/notifications/unsubscribe-auth/ACbIG4wUHNmAHqIzPXQjOopEcLje4RXnks5r2KF9gaJpZM4MAbAp .

--

Thank you, Patrick Artounian

Shougo commented 7 years ago

@Shougo Could you please support the same automatic integration in deoplete?

I don't want to add the autocmd.

Shougo commented 7 years ago

It's also very snappy, never had a second of lag.

deoplete performance is improved than the previous version. It should be more improved though.

Yes Jedi was easy, but with ncm we get easy PHP autocompletion if you have to work with that.

Unfortunately, I don't use PHP. I think to setup LSP server for PHP is better.