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

Replace deoplete with ddc due to stop of active development #2146

Closed
petRUShka opened this issue Aug 25, 2021 · 6 comments
Closed

Replace deoplete with ddc due to stop of active development #2146

petRUShka opened this issue Aug 25, 2021 · 6 comments

Comments

@petRUShka
Copy link

petRUShka commented Aug 25, 2021

Description

Deoplete isn't actively developed at the moment:

Note: Active development on deoplete.nvim has stopped. The only future changes will be bug fixes.
Please see ddc.vim.

So I propose migration in help files from deoplete to ddc.

@petRUShka petRUShka added the bug label Aug 25, 2021
@lervag lervag added enhancement and removed bug labels Aug 25, 2021
@lervag
Copy link
Owner

lervag commented Aug 25, 2021

Thanks, this is a valid request. I would hesitate to remove the deoplete content, but I would not mind adding content for ddc.vim. Would you be willing to suggest by PR? I don't have the time to test ddc.vim at the moment, so it would be useful if someone could propose a configuration that I could add to the docs.

@krillin666
Copy link

Description

Deoplete isn't actively developed at the moment:

Note: Active development on deoplete.nvim has stopped. The only future changes will be bug fixes.
Please see ddc.vim.

So I propose migration in help files from deoplete to ddc.

Is it already possible to use ddc with Vimtex ? If so, can you give instructions how ?
Thanks !

@lervag
Copy link
Owner

lervag commented Oct 9, 2021

I'll allow this issue to stay open for some more time, but I would be very happy if someone can pitch in and perhaps suggest text to add to the docs.

@theova
Copy link

theova commented Nov 12, 2021

There are some instructions from ddc's (see https://github.com/Shougo/ddc-omni and Shougo/ddc.vim#48 (comment)):

call vimtex#init()
call ddc#custom#patch_filetype(['tex'], 'sourceOptions', {
      \ 'omni': {'mark': 'O', 'forceCompletionPattern': g:vimtex#re#deoplete},
      \ })
call ddc#custom#patch_filetype(['tex'], 'sourceParams', {
      \ 'omni': {'omnifunc': 'vimtex#complete#omnifunc'},
      \ })

However, I cannot reach the same functionalities as with deoplete (the actual completion is still missing).

@lervag
Copy link
Owner

lervag commented Dec 2, 2021

Thanks @theova. I'll continue to leave this issue open until I get help to clarify the correct configuration. As before, I don't use ddc myself.

Note, you should never need to do call vimtex#init() manually (unless you are an expert doing something crazy).

@lervag
Copy link
Owner

lervag commented Apr 28, 2022

It's been some time now without further response. As I don't use ddc I can't really do anything more here. As before, please open a PR with suggestions for the docs or open an issue with useful instructions that I can add to the docs. Of course, feel free to reopen to continue the discussion or open new issues for other questions.

@lervag lervag closed this as completed Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants